ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddCommercialDiscountToInvoicesAndQuotations (20151012181412)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "commercial_discount" decimal  (0.2ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "commercial_discount" decimal SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012181412"]]  (0.9ms) commit transaction Migrating to CustomerVaultIndividualsAddSkype (20151019100134)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_customer_vault_individuals" ADD "skype" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151019100134"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Started GET "/" for ::1 at 2015-10-23 12:09:41 +0200 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.4ms) Completed 200 OK in 7858ms (Views: 7846.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 12:09:49 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 12:09:50 +0200 Started GET "/" for ::1 at 2015-10-23 12:34:25 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 114ms (Views: 113.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 12:34:25 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 12:34:26 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 12:34:27 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" SQLite3::SQLException: no such table: dorsale_customer_vault_individuals: SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Completed 500 Internal Server Error in 54ms (ActiveRecord: 0.4ms) ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: dorsale_customer_vault_individuals: SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"): app/models/dorsale/user_scope.rb:55:in `people' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/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.1/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.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (89.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 12:34:28 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" SQLite3::SQLException: no such table: dorsale_customer_vault_individuals: SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms) ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: dorsale_customer_vault_individuals: SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"): app/models/dorsale/user_scope.rb:55:in `people' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (86.8ms)  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20141010140200)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141010140200"]]  (0.8ms) commit transaction Migrating to AddPolymorphicFieldsToAddresses (20141014072756)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_addresses" ADD "addressable_id" integer  (0.2ms) ALTER TABLE "dorsale_addresses" ADD "addressable_type" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141014072756"]]  (0.8ms) commit transaction Migrating to CreateDorsaleComments (20150312083147)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312083147"]]  (0.8ms) commit transaction Migrating to CreateDorsaleAlexandrieAttachments (20150616074852)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616074852"]]  (0.9ms) commit transaction Migrating to CreateDorsaleDummyModels (20150616082916)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616082916"]]  (0.9ms) commit transaction Migrating to CreateFlyboy (20150622075000)  (0.1ms) begin transaction  (1.1ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.2ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075000"]]  (1.0ms) commit transaction Migrating to CreateBillingMachine (20150622075038)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075038"]]  (1.2ms) commit transaction Migrating to CreateCustomerVault (20150622105217)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622105217"]]  (1.1ms) commit transaction Migrating to DorsaleV2Changes (20150623093218)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150623093218"]]  (0.8ms) commit transaction Migrating to ActsAsTaggableOnMigration (20150624081204)  (0.1ms) begin transaction  (1.0ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.4ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.5ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.4ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081204"]]  (1.1ms) commit transaction Migrating to AddMissingUniqueIndices (20150624081205)  (0.1ms) begin transaction  (0.3ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'  (0.3ms) DROP INDEX "index_taggings_on_tag_id"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms) DROP INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context"  (0.2ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081205"]]  (1.2ms) commit transaction Migrating to AddTaggingsCounterCacheToTags (20150624081206)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "tags" ADD "taggings_count" integer DEFAULT 0 ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."id" ASC LIMIT 1000 SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081206"]]  (1.2ms) commit transaction Migrating to AddMissingTaggableIndex (20150624081207)  (0.2ms) begin transaction  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (1.0ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081207"]]  (0.9ms) commit transaction Migrating to ChangeCollationForTagNames (20150624081208)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081208"]]  (0.8ms) commit transaction Migrating to BillingMachineQuotationsAddExpiresAt (20150625093326)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "expires_at" date SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625093326"]]  (0.8ms) commit transaction Migrating to BillingMachineAddTrackingIds (20150625131155)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "tracking_id" varchar  (0.4ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "tracking_id" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625131155"]]  (0.9ms) commit transaction Migrating to AddOwnersToTasks (20150803152643)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_type" varchar  (0.3ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803152643"]]  (0.9ms) commit transaction Migrating to DeviseCreateUsers (20150803160334)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803160334"]]  (1.2ms) commit transaction Migrating to AddAuthorToComments (20150805133509)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_type" varchar  (0.2ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805133509"]]  (1.0ms) commit transaction Migrating to AddPolymorphicUsersToComments (20150805134318)  (0.1ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "adorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "dorsale_comments"  (0.3ms) DROP TABLE "dorsale_comments"  (0.2ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "adorsale_comments"  (0.3ms) DROP TABLE "adorsale_comments"  (0.2ms) ALTER TABLE "dorsale_comments" ADD "author_type" varchar SQL (0.2ms) UPDATE "dorsale_comments" SET "author_type" = 'User' WHERE "dorsale_comments"."id" IN (SELECT "dorsale_comments"."id" FROM "dorsale_comments" WHERE (author_id is not null) ORDER BY "dorsale_comments"."created_at" DESC) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805134318"]]  (1.1ms) commit transaction Migrating to AddCommercialDiscountToInvoicesAndQuotations (20151012181412)  (0.4ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "commercial_discount" decimal  (0.3ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "commercial_discount" decimal SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012181412"]]  (0.9ms) commit transaction Migrating to CustomerVaultIndividualsAddSkype (20151019100134)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_customer_vault_individuals" ADD "skype" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151019100134"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.8ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20141010140200)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141010140200"]]  (0.8ms) commit transaction Migrating to AddPolymorphicFieldsToAddresses (20141014072756)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_addresses" ADD "addressable_id" integer  (0.1ms) ALTER TABLE "dorsale_addresses" ADD "addressable_type" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141014072756"]]  (0.8ms) commit transaction Migrating to CreateDorsaleComments (20150312083147)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312083147"]]  (0.8ms) commit transaction Migrating to CreateDorsaleAlexandrieAttachments (20150616074852)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616074852"]]  (0.9ms) commit transaction Migrating to CreateDorsaleDummyModels (20150616082916)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616082916"]]  (0.8ms) commit transaction Migrating to CreateFlyboy (20150622075000)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075000"]]  (1.0ms) commit transaction Migrating to CreateBillingMachine (20150622075038)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.3ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.3ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075038"]]  (1.1ms) commit transaction Migrating to CreateCustomerVault (20150622105217)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622105217"]]  (1.0ms) commit transaction Migrating to DorsaleV2Changes (20150623093218)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150623093218"]]  (0.8ms) commit transaction Migrating to ActsAsTaggableOnMigration (20150624081204)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081204"]]  (1.3ms) commit transaction Migrating to AddMissingUniqueIndices (20150624081205)  (0.1ms) begin transaction  (0.4ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'  (0.5ms) DROP INDEX "index_taggings_on_tag_id"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.3ms) DROP INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context"  (0.4ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081205"]]  (1.4ms) commit transaction Migrating to AddTaggingsCounterCacheToTags (20150624081206)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "tags" ADD "taggings_count" integer DEFAULT 0 ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."id" ASC LIMIT 1000 SQL (1.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081206"]]  (0.9ms) commit transaction Migrating to AddMissingTaggableIndex (20150624081207)  (0.1ms) begin transaction  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.4ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081207"]]  (1.1ms) commit transaction Migrating to ChangeCollationForTagNames (20150624081208)  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081208"]]  (1.2ms) commit transaction Migrating to BillingMachineQuotationsAddExpiresAt (20150625093326)  (0.2ms) begin transaction  (0.8ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "expires_at" date SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625093326"]]  (1.0ms) commit transaction Migrating to BillingMachineAddTrackingIds (20150625131155)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "tracking_id" varchar  (0.4ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "tracking_id" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625131155"]]  (0.8ms) commit transaction Migrating to AddOwnersToTasks (20150803152643)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_type" varchar  (0.3ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803152643"]]  (0.8ms) commit transaction Migrating to DeviseCreateUsers (20150803160334)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803160334"]]  (1.2ms) commit transaction Migrating to AddAuthorToComments (20150805133509)  (0.1ms) begin transaction  (1.9ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_type" varchar  (0.2ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805133509"]]  (0.8ms) commit transaction Migrating to AddPolymorphicUsersToComments (20150805134318)  (0.1ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "adorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "dorsale_comments"  (0.2ms) DROP TABLE "dorsale_comments"  (0.2ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "adorsale_comments"  (0.2ms) DROP TABLE "adorsale_comments"  (0.2ms) ALTER TABLE "dorsale_comments" ADD "author_type" varchar SQL (0.2ms) UPDATE "dorsale_comments" SET "author_type" = 'User' WHERE "dorsale_comments"."id" IN (SELECT "dorsale_comments"."id" FROM "dorsale_comments" WHERE (author_id is not null) ORDER BY "dorsale_comments"."created_at" DESC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805134318"]]  (1.4ms) commit transaction Migrating to AddCommercialDiscountToInvoicesAndQuotations (20151012181412)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "commercial_discount" decimal  (0.4ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "commercial_discount" decimal SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012181412"]]  (1.7ms) commit transaction Migrating to CustomerVaultIndividualsAddSkype (20151019100134)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "dorsale_customer_vault_individuals" ADD "skype" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151019100134"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 14:02:38 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (772.3ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (17.8ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (851.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1062ms (Views: 961.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:02:40 +0200 Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-10-23 14:07:50 +0200 Processing by Dorsale::BillingMachine::QuotationsController#new 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::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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/quotations/_line_fields.html.slim (21.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (14.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (168.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (178.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 352ms (Views: 303.7ms | ActiveRecord: 1.7ms)  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lefevre et Bonnet EURL"], ["short_name", "SN"], ["email", "sarah@maon.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://robert.org/julie_aubert"], ["created_at", "2015-10-23 12:20:10.767542"], ["updated_at", "2015-10-23 12:20:10.767542"]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-10-23 12:20:10.807212"], ["updated_at", "2015-10-23 12:20:10.807212"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term omnis ut molestiae"], ["created_at", "2015-10-23 12:20:10.815993"], ["updated_at", "2015-10-23 12:20:10.815993"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-10-23 12:20:10.852106"], ["updated_at", "2015-10-23 12:20:10.852106"]]  (1.0ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_quotations" ("date", "expires_at", "vat_rate", "commercial_discount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["expires_at", "2015-11-23"], ["vat_rate", 20.0], ["commercial_discount", 0.0], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-10-23 12:20:10.877098"], ["updated_at", "2015-10-23 12:20:10.877098"], ["unique_index", 1], ["tracking_id", "2014-01"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Richard et Roger EURL"], ["short_name", "SN"], ["email", "lo@morel.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://fournier.info/lola.menard"], ["created_at", "2015-10-23 12:28:32.781370"], ["updated_at", "2015-10-23 12:28:32.781370"]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-10-23 12:28:32.815455"], ["updated_at", "2015-10-23 12:28:32.815455"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term aut ea dicta"], ["created_at", "2015-10-23 12:28:32.822209"], ["updated_at", "2015-10-23 12:28:32.822209"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-10-23 12:28:32.850904"], ["updated_at", "2015-10-23 12:28:32.850904"]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_quotations" ("date", "expires_at", "vat_rate", "commercial_discount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["expires_at", "2015-11-23"], ["vat_rate", 20.0], ["commercial_discount", 0.0], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-10-23 12:28:32.877497"], ["updated_at", "2015-10-23 12:28:32.877497"], ["unique_index", 2], ["tracking_id", "2014-02"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (1.8ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Morin et Dupuy SA"], ["short_name", "SN"], ["email", "victor@fernandez.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://bourgeois.com/la"], ["created_at", "2015-10-23 12:45:24.866666"], ["updated_at", "2015-10-23 12:45:24.866666"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-10-23 12:45:24.901516"], ["updated_at", "2015-10-23 12:45:24.901516"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term facere sequi quia"], ["created_at", "2015-10-23 12:45:24.908759"], ["updated_at", "2015-10-23 12:45:24.908759"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-10-23 12:45:24.933416"], ["updated_at", "2015-10-23 12:45:24.933416"]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (0.7ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (1.6ms) INSERT INTO "dorsale_billing_machine_quotations" ("date", "expires_at", "vat_rate", "commercial_discount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["expires_at", "2015-11-23"], ["vat_rate", 20.0], ["commercial_discount", 0.0], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-10-23 12:45:24.961960"], ["updated_at", "2015-10-23 12:45:24.961960"], ["unique_index", 3], ["tracking_id", "2014-03"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Bernard et Moulin SEM"], ["short_name", "SN"], ["email", "manon@mercier.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://dupuy.fr/chlo.leroy"], ["created_at", "2015-10-23 12:46:31.820429"], ["updated_at", "2015-10-23 12:46:31.820429"]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-10-23 12:46:31.852090"], ["updated_at", "2015-10-23 12:46:31.852090"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term vitae dicta delectus"], ["created_at", "2015-10-23 12:46:31.859132"], ["updated_at", "2015-10-23 12:46:31.859132"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-10-23 12:46:31.892378"], ["updated_at", "2015-10-23 12:46:31.892378"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_quotations" ("date", "expires_at", "vat_rate", "commercial_discount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["expires_at", "2015-11-23"], ["vat_rate", 20.0], ["commercial_discount", 0.0], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-10-23 12:46:31.915176"], ["updated_at", "2015-10-23 12:46:31.915176"], ["unique_index", 4], ["tracking_id", "2014-04"]]  (1.0ms) commit transaction Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 14:47:13 +0200 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (871.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (32.7ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (37.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (1022.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 5694ms (Views: 5641.6ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:47:19 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:47:20 +0200 Started GET "/dorsale/billing_machine/quotations/4" for ::1 at 2015-10-23 14:47:21 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (97.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 4 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (115.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (179.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 345ms (Views: 327.6ms | ActiveRecord: 4.1ms) Started GET "/dorsale/billing_machine/quotations/4" for ::1 at 2015-10-23 14:55:08 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 4 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (876.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1109ms (Views: 1003.0ms | ActiveRecord: 3.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:55:09 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:55:10 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:55:14 +0200 Started GET "/dorsale/billing_machine/quotations/4" for ::1 at 2015-10-23 14:57:47 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 4 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (34.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 187ms (Views: 183.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:57:47 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:57:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:57:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:57:48 +0200 Started POST "/dorsale/billing_machine/quotations/4/copy" for ::1 at 2015-10-23 14:57:50 +0200 Processing by Dorsale::BillingMachine::QuotationsController#copy as HTML Parameters: {"authenticity_token"=>"pb9zdWuWcwBQQFhiv3pG8hr8+7opM3VfFXhVLoH2hyZt+/gqlvJoOkI4b/6BDBzpYZoIa5DXcB3PoFYd+a6uhg==", "id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]]  (0.4ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_quotations" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_duty", "vat_amount", "total_all_taxes", "vat_rate", "comments", "expires_at", "tracking_id", "commercial_discount", "created_at", "updated_at", "unique_index") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 4], ["payment_term_id", 4], ["date", "2015-10-23"], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["vat_rate", 20.0], ["comments", "This is the quotation for the software your companie want"], ["expires_at", "2015-11-23"], ["tracking_id", "2015-05"], ["commercial_discount", 0.0], ["created_at", "2015-10-23 12:57:50.478546"], ["updated_at", "2015-10-23 12:57:50.478546"], ["unique_index", 5]]  (1.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/5 Completed 302 Found in 62ms (ActiveRecord: 5.1ms) Started GET "/dorsale/billing_machine/quotations/5" for ::1 at 2015-10-23 14:57:50 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"5"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 5]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 5]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 5 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (28.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.2ms) Completed 200 OK in 160ms (Views: 155.8ms | ActiveRecord: 1.0ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:57:50 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:57:51 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:57:51 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:57:51 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:57:51 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:57:51 +0200 Started POST "/dorsale/billing_machine/quotations/5/copy" for ::1 at 2015-10-23 14:58:08 +0200 Processing by Dorsale::BillingMachine::QuotationsController#copy as HTML Parameters: {"authenticity_token"=>"WG6BoDSYQUfkBCiI2DDv0dJIFwe5klWA95x3svcRprOQKgr/yfxaffZ8HxTmRrXKqS7k1gB2UMItRHSBj0mPEw==", "id"=>"5"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 5]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 5]]  (0.1ms) begin transaction 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_duty", "vat_amount", "total_all_taxes", "vat_rate", "comments", "expires_at", "tracking_id", "commercial_discount", "created_at", "updated_at", "unique_index") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 4], ["payment_term_id", 4], ["date", "2015-10-23"], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["vat_rate", 20.0], ["comments", "This is the quotation for the software your companie want"], ["expires_at", "2015-11-23"], ["tracking_id", "2015-06"], ["commercial_discount", 0.0], ["created_at", "2015-10-23 12:58:08.298440"], ["updated_at", "2015-10-23 12:58:08.298440"], ["unique_index", 6]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/6/edit Completed 302 Found in 119ms (ActiveRecord: 6.2ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 14:58:08 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (74.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (82.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 216ms (Views: 211.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 14:58:08 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 14:58:09 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 15:04:25 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.7ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 183ms (Views: 174.4ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:21:35 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 300ms (Views: 201.3ms | ActiveRecord: 3.9ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:41:46 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (1.1ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (63.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 313ms (Views: 207.3ms | ActiveRecord: 4.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:41:46 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:41:47 +0200 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:43:32 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (758.8ms) Completed 500 Internal Server Error in 886ms (ActiveRecord: 2.1ms) ActionView::Template::Error (can not load translations from /Users/benoit/www/agilidee/dorsale/config/locales/billing_machine.en.yml: #): 1: .billing_machine 2: .quotation-details 3: .actions 4: = update_button dorsale.edit_billing_machine_quotation_path(@quotation) 5: = download_button dorsale.billing_machine_quotation_path(@quotation, format: :pdf) 6: = copy_button dorsale.copy_billing_machine_quotation_path(@quotation), method: :post, confirm: true 7: = dorsale_button dorsale.create_invoice_billing_machine_quotation_path(@quotation), action: :create_invoice, confirm: true, icon: :magic i18n (0.7.0) lib/i18n/backend/base.rb:184:in `rescue in load_yml' i18n (0.7.0) lib/i18n/backend/base.rb:181:in `load_yml' i18n (0.7.0) lib/i18n/backend/base.rb:165:in `load_file' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `block in load_translations' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `each' i18n (0.7.0) lib/i18n/backend/base.rb:15:in `load_translations' i18n (0.7.0) lib/i18n/backend/simple.rb:57:in `init_translations' i18n (0.7.0) lib/i18n/backend/simple.rb:40:in `available_locales' i18n (0.7.0) lib/i18n/config.rb:43:in `available_locales' i18n (0.7.0) lib/i18n/config.rb:49:in `available_locales_set' i18n (0.7.0) lib/i18n.rb:278:in `locale_available?' i18n (0.7.0) lib/i18n.rb:284:in `enforce_available_locales!' i18n (0.7.0) lib/i18n.rb:151:in `translate' actionview (4.2.4) lib/action_view/helpers/translation_helper.rb:69:in `translate' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/button_helper.rb:6:in `dorsale_button' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/button_helper.rb:63:in `update_button' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_show_html_slim__2289487418558792670_70180225061140' 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/quotations_controller.rb:68: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 (8.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.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.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 (85.6ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:43:56 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.6ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (848.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1071ms (Views: 980.8ms | ActiveRecord: 4.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:43:57 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:43:58 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:43:58 +0200 Started GET "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:44:07 +0200 ActionController::RoutingError (No route matches [GET] "/dorsale/billing_machine/quotations/6/create_invoice"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.html.erb (3.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/routes/_route.html.erb (2.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/routes/_route.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/routes/_table.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.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/routing_error.html.erb within rescues/layout (166.6ms) Started GET "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:44:08 +0200 ActionController::RoutingError (No route matches [GET] "/dorsale/billing_machine/quotations/6/create_invoice"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.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/routes/_route.html.erb (1.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/routes/_route.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/routes/_table.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/_request_and_response.html.erb (1.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/routing_error.html.erb within rescues/layout (150.1ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:44:29 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (66.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 209ms (Views: 204.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:44:29 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:44:29 +0200 Started POST "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:44:32 +0200 Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML Parameters: {"authenticity_token"=>"cRjeIgpy9M8C7NsQVG7mi1WFg7FELGm6K2ehR5IA8nC5XFV99xbv9RCU7IxqGLyQLuNwYP3IbPjxv6J06ljb0A==", "id"=>"6"} 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" Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.6ms) NoMethodError (undefined method `create_invoice!' for nil:NilClass): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:130:in `create_invoice' 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:38: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 (6.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 (3.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.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/diagnostics.html.erb within rescues/layout (71.6ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:44:40 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (25.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 175ms (Views: 170.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:44:40 +0200 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:44:51 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.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 285ms (Views: 182.7ms | ActiveRecord: 3.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:44:51 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:44:51 +0200 Started POST "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:44:53 +0200 Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML Parameters: {"authenticity_token"=>"M8/n3GkaFMugTevatZO1jHjTqgub8wbXCzkiyG4hmgT7i2yDlH4P8bI13EaL5e+XA7VZ2iIXA5XR4SH7FnmzpA==", "id"=>"6"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.0ms) NoMethodError (undefined method `create_invoice!' for nil:NilClass): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:131:in `create_invoice' 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:38: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 (7.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 (2.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.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/diagnostics.html.erb within rescues/layout (74.6ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:45:38 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (4.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (54.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 299ms (Views: 202.4ms | ActiveRecord: 4.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:45:39 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:45:39 +0200 Started POST "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:45:41 +0200 Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML Parameters: {"authenticity_token"=>"mis147OVCEggIzvcc6d2j0iv6Rwpx9o6MwxlSe81E/BSb768TvETcjJbDEBN0SyUM8kazZAj33jp1GZ6l206UA==", "id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) 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::Quotation Load (0.8ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (0.1ms) begin transaction 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "commercial_discount", "paid", "customer_id", "customer_type", "id_card_id", "payment_term_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2015-10-23"], ["due_date", "2015-11-22"], ["vat_rate", 20.0], ["advance", 0.0], ["commercial_discount", 0.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 4], ["payment_term_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-10-23 13:45:41.209027"], ["updated_at", "2015-10-23 13:45:41.209027"], ["unique_index", 1], ["tracking_id", "2015-01"]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices/1/edit Completed 302 Found in 80ms (ActiveRecord: 6.5ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2015-10-23 15:45:41 +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::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" 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 (13.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (75.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 223ms (Views: 217.2ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:45:41 +0200 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 15:47:50 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (14.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (59.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (71.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 215ms (Views: 210.7ms | ActiveRecord: 1.1ms) Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:48:03 +0200 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OSK+cfRvi3V77HZlb6bcudgz0+xQpcKj/QT6FhB9Qj3xZjUuCQuQT2mUQflR0Iaio1UgPelBx+En3PklaCVrnQ==", "quotation"=>{"label"=>"Software service", "date"=>"23/10/2015", "expires_at"=>"23/11/2015", "payment_term_id"=>"4", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "vat_rate"=>"20.0", "commercial_discount"=>"0.0", "id_card_id"=>"4", "comments"=>"This is the quotation for the software your companie want", "lines_attributes"=>{"1445608073040"=>{"label"=>"hey", "quantity"=>"10", "unit"=>"ll", "unit_price"=>"10", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit", "unit_price", "quotation_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "hey"], ["quantity", 10.0], ["unit", "ll"], ["unit_price", 10.0], ["quotation_id", 6], ["total", 100.0], ["created_at", "2015-10-23 13:48:03.446334"], ["updated_at", "2015-10-23 13:48:03.446334"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["updated_at", "2015-10-23 13:48:03.451564"], ["id", 6]]  (2.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 35ms (ActiveRecord: 4.9ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 15:48:03 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (3.7ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (16.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (52.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 206ms (Views: 192.7ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:48:03 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:48:04 +0200 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:48:06 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (31.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 159ms (Views: 155.3ms | ActiveRecord: 1.0ms) Started POST "/dorsale/billing_machine/quotations/6/create_invoice" for ::1 at 2015-10-23 15:48:09 +0200 Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML Parameters: {"authenticity_token"=>"hY1xVAEgP3qUQhFJiZ0dh8ubxSna5FJaEIWnvZOXmkNNyfoL/EQkQIY6JtW360ecsP02+GMAVxjKXaSO68+z4w==", "id"=>"6"} Dorsale::CustomerVault::Individual Load (0.3ms) 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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (0.1ms) begin transaction 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "commercial_discount", "paid", "customer_id", "customer_type", "id_card_id", "payment_term_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2015-10-23"], ["due_date", "2015-11-22"], ["vat_rate", 20.0], ["advance", 0.0], ["commercial_discount", 0.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 4], ["payment_term_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-10-23 13:48:09.984062"], ["updated_at", "2015-10-23 13:48:09.984062"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "hey"], ["quantity", 10.0], ["unit", "ll"], ["unit_price", 10.0], ["total", 100.0], ["invoice_id", 2], ["created_at", "2015-10-23 13:48:09.987239"], ["updated_at", "2015-10-23 13:48:09.987239"]] 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", 2]] 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", 4]]  (0.3ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 120.0], ["updated_at", "2015-10-23 13:48:09.998733"], ["id", 2]]  (3.3ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices/2/edit Completed 302 Found in 40ms (ActiveRecord: 7.3ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-10-23 15:48:10 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (52.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (57.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 191ms (Views: 185.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 15:48:10 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-10-23 15:48:19 +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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.0ms) 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/_data_context.html.slim (7.2ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (22.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (73.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 211.2ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 15:48:20 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (3.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (46.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 195.4ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 15:52:25 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (8.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (62.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 307ms (Views: 210.2ms | ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/quotations/6.pdf" for ::1 at 2015-10-23 15:52:27 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]] Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 6], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data devis_2015-06_SN.pdf (2.7ms) Completed 200 OK in 227ms (Views: 2.5ms | ActiveRecord: 1.9ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleBillingMachineQuotationsAddState (20151023135421)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "state" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151023135421"]]  (2.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' SQL (2.7ms) UPDATE "dorsale_billing_machine_quotations" SET "state" = 'pending' Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 16:04:10 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (874.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 1132ms (Views: 1036.5ms | ActiveRecord: 4.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:04:12 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:04:49 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.3ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.8ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (45.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 189.1ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:06:29 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (15.7ms) Completed 500 Internal Server Error in 54ms (ActiveRecord: 0.3ms) SyntaxError (/Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim:4: syntax error, unexpected keyword_do, expecting keyword_end ; total_duty = @quotations_without_pagination do; ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim:13: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim:4: syntax error, unexpected keyword_do, expecting keyword_end ; total_duty = @quotations_without_pagination do; ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim:13: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.4) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.4) lib/action_view/template.rb:296:in `compile' actionview (4.2.4) lib/action_view/template.rb:245:in `block (2 levels) in compile!' 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:244:in `block in compile!' actionview (4.2.4) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.4) lib/action_view/template.rb:232:in `compile!' actionview (4.2.4) lib/action_view/template.rb:144: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/quotations/index.html.slim:8:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_index_html_slim___1345113831389754583_70180157480220' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim:7:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_index_html_slim___1345113831389754583_70180157480220' 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/quotations_controller.rb:26: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 (6.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.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/diagnostics.html.erb within rescues/layout (84.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:06:36 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (7.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (47.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 221ms (Views: 215.6ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:06:36 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:06:37 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:07:05 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (7.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (49.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 197ms (Views: 191.9ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:07:05 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:07:16 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (6.8ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (11.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 194ms (Views: 188.5ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:07:16 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:07:17 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:08:36 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (1.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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (7.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (47.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 184.4ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:08:37 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:08:45 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (14.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.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 311ms (Views: 184.5ms | ActiveRecord: 3.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:08:46 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:10:33 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (5.4ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (47.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 292ms (Views: 186.7ms | ActiveRecord: 3.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:10:33 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:10:34 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:11:32 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.8ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 325ms (Views: 219.0ms | ActiveRecord: 3.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:11:32 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:11:33 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:18:55 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (38.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (70.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 226.6ms | ActiveRecord: 2.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:18:55 +0200 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 16:19:01 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (71.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 244ms (Views: 236.9ms | ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:19:03 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (16.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (88.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (95.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 266ms (Views: 259.8ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:21:40 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (104.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (108.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 358ms (Views: 268.7ms | ActiveRecord: 3.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:21:41 +0200 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:21:47 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 322ms (Views: 219.8ms | ActiveRecord: 4.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:21:47 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:21:48 +0200 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:21:57 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 344ms (Views: 239.8ms | ActiveRecord: 3.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:21:58 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:22:01 +0200 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:22:34 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (28.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 214ms (Views: 210.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:22:34 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:22:35 +0200 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:22:36 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.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 200ms (Views: 196.0ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:22:36 +0200 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 16:22:37 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (1.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::PaymentTerm Load (0.4ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (10.2ms) Dorsale::Alexandrie::Attachment Load (0.6ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (27.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (89.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 364ms (Views: 344.4ms | ActiveRecord: 5.2ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-10-23 16:23:08 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (86.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (91.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 330ms (Views: 228.7ms | ActiveRecord: 4.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:23:09 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:23:09 +0200 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-10-23 16:23:13 +0200 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IdbTNSgQ5zurUcdqDiOWXpkhDTaiuiX3YJ5vctKKW9Tpklhq1XT8Abkp8PYwVcxF4kf+5xteILW6RmxBqtJydA==", "quotation"=>{"label"=>"Software service", "state"=>"", "date"=>"23/10/2015", "expires_at"=>"23/11/2015", "payment_term_id"=>"4", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "vat_rate"=>"20.0", "commercial_discount"=>"0.0", "id_card_id"=>"4", "comments"=>"This is the quotation for the software your companie want", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "unit_price"=>"10.0", "_destroy"=>"false", "id"=>"1"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.1ms) rollback transaction 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (49.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (54.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 191ms (Views: 177.6ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:23:14 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-10-23 16:23:17 +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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.3ms) 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/_data_context.html.slim (16.3ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 203ms (Views: 191.6ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:23:17 +0200 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-10-23 16:23:18 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (14.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 193ms (Views: 185.6ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-10-23 16:24:12 +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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (2.5ms) 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 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (5.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (35.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 176ms (Views: 171.7ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-10-23 16:24:12 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 198ms (Views: 191.0ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/2/copy" for ::1 at 2015-10-23 16:24:14 +0200 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (79.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 223ms (Views: 212.7ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-10-23 16:24:20 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 164ms (Views: 159.8ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-10-23 16:24:20 +0200 Started GET "/dorsale/billing_machine/invoices/2/copy" for ::1 at 2015-10-23 16:24:21 +0200 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (48.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (54.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 232ms (Views: 224.5ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/2/copy" for ::1 at 2015-10-23 16:24:34 +0200 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (50.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 214ms (Views: 204.8ms | ActiveRecord: 1.0ms) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddIsActiveToUsers (20151103110115)  (0.1ms) begin transaction  (1.3ms) ALTER TABLE "users" ADD "is_active" boolean SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151103110115"]]  (0.9ms) commit transaction Migrating to AddTaxesRateToQuotationAndInvoiceLines (20151116143024)  (0.1ms) begin transaction  (0.6ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.0ms) select sqlite_version(*)  (0.4ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.2ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.2ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.2ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.5ms) SELECT * FROM "dorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 20, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.1ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 20, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (2.2ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 20, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 20, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (1.5ms) DROP TABLE "adorsale_billing_machine_invoices"  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 20, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.3ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 20, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (0.9ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 20, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 20, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (0.2ms) DROP TABLE "adorsale_billing_machine_invoices"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.6ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (3.0ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (0.2ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.3ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (0.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.3ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (0.2ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) ALTER TABLE "dorsale_billing_machine_quotation_lines" ADD "vat_rate" decimal  (0.2ms) ALTER TABLE "dorsale_billing_machine_invoice_lines" ADD "vat_rate" decimal Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" Dorsale::BillingMachine::InvoiceLine Load (1.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", 1]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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::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", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-18 12:04:58.561180"], ["id", 1]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" Dorsale::BillingMachine::QuotationLine Load (0.7ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 2]] 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", 2]]  (0.0ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 2]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 3]] 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", 3]]  (0.0ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 3]] Dorsale::BillingMachine::QuotationLine Load (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 4]] Dorsale::BillingMachine::QuotationLine Load (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 5]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 5]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-18 12:04:58.614447"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.2ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 20, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (0.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.2ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, 1, 'Dorsale::CustomerVault::Corporation', 1, 1, '2014-02-19', 'Software service', 0, 0, 0, 1, 'This is the quotation for the software your companie want', '2015-10-23 12:20:10.877098', '2015-10-23 12:20:10.877098', '2015-11-23', '2014-01', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (2, 2, 'Dorsale::CustomerVault::Corporation', 2, 2, '2014-02-19', 'Software service', 0, 0, 0, 2, 'This is the quotation for the software your companie want', '2015-10-23 12:28:32.877497', '2015-10-23 12:28:32.877497', '2015-11-23', '2014-02', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (3, 3, 'Dorsale::CustomerVault::Corporation', 3, 3, '2014-02-19', 'Software service', 0, 0, 0, 3, 'This is the quotation for the software your companie want', '2015-10-23 12:45:24.961960', '2015-10-23 12:45:24.961960', '2015-11-23', '2014-03', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (4, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2014-02-19', 'Software service', 0, 0, 0, 4, 'This is the quotation for the software your companie want', '2015-10-23 12:46:31.915176', '2015-10-23 12:46:31.915176', '2015-11-23', '2014-04', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (5, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 5, 'This is the quotation for the software your companie want', '2015-10-23 12:57:50.478546', '2015-10-23 12:57:50.478546', '2015-11-23', '2015-05', 0, 'pending')  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (6, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 6, 'This is the quotation for the software your companie want', '2015-10-23 12:58:08.298440', '2015-10-23 13:48:03.451564', '2015-11-23', '2015-06', 0, 'pending')  (0.2ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.2ms) SELECT * FROM "dorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 20, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.1ms) INSERT INTO "adorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","vat_rate","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 20, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (0.6ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.5ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (1, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 0, 0, 0, 0, 0, 1, 'f', '2015-11-22', '2015-10-23 13:45:41.209027', '2015-10-23 13:45:41.209027', '2015-01', 0)  (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id","customer_id","customer_type","payment_term_id","id_card_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","advance","balance","unique_index","paid","due_date","created_at","updated_at","tracking_id","commercial_discount") VALUES (2, 4, 'Dorsale::CustomerVault::Corporation', 4, 4, '2015-10-23', 'Software service', 100, 20, 120, 0, 120, 2, 'f', '2015-11-22', '2015-10-23 13:48:09.984062', '2015-10-23 13:48:09.998733', '2015-02', 0)  (0.2ms) DROP TABLE "adorsale_billing_machine_invoices" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116143024"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.8ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Started GET "/" for ::1 at 2015-11-18 13:05:28 +0100 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 5563ms (Views: 5551.0ms | ActiveRecord: 0.0ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 13:05:34 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-18 13:05:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1184.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (15.6ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (45.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (1288.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1498ms (Views: 1447.0ms | ActiveRecord: 2.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 13:06:00 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (22.1ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (16.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (80.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 369ms (Views: 358.5ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-18 13:06:01 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (0.9ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (42.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 201ms (Views: 195.5ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 13:56:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.8ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.2ms) 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/_data_context.html.slim (14.4ms) Dorsale::BillingMachine::Invoice Load (0.5ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (52.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 196.4ms | ActiveRecord: 2.9ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 13:56:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (51.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 208ms (Views: 197.0ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 13:56:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} 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", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (4.1ms) Completed 200 OK in 116ms (Views: 3.9ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 13:56:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} 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", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (0.6ms) Completed 200 OK in 77ms (Views: 0.5ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 13:56:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (172.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (182.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 353ms (Views: 349.2ms | ActiveRecord: 0.9ms) Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 13:56:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"G1+j5W3qbko+KNTBRzmgWXhnUiBAS1w6ZfEjLl5VmKpIfqW9qh+x7tOADr18h31s9Ot+1wcnEpFPVBRa0K927Q==", "invoice"=>{"label"=>"Software service", "date"=>"23/10/2015", "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "advance"=>"5", "commercial_discount"=>"10", "id_card_id"=>"4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "unit_price"=>"10.0", "vat_rate"=>"20.0", "_destroy"=>"false", "id"=>"1"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 1 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 10.0], ["advance", 5.0], ["total_excluding_taxes", 90.0], ["vat_amount", 18.0], ["total_including_taxes", 108.0], ["balance", 103.0], ["updated_at", "2015-11-18 12:56:33.075035"], ["id", 2]]  (2.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 23ms (ActiveRecord: 3.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 13:56:33 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (2.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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (5.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (37.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 186ms (Views: 181.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 13:56:33 +0100 Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 13:56:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} 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", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (1.1ms) Completed 200 OK in 88ms (Views: 0.9ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-18 14:24:14 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.4ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (17.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (53.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 319ms (Views: 209.9ms | ActiveRecord: 3.7ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-18 14:24:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (12.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (28.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 239ms (Views: 232.5ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/quotations/6.pdf" for ::1 at 2015-11-18 14:24:20 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]] Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 6], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data devis_2015-06_SN.pdf (0.7ms) Completed 200 OK in 117ms (Views: 0.5ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 15:03:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (1.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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (0.9ms) Completed 200 OK in 261ms (Views: 0.8ms | ActiveRecord: 4.7ms) Started GET "/dorsale/billing_machine/quotations/6.pdf" for ::1 at 2015-11-18 15:03:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]] Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 6], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data devis_2015-06_SN.pdf (0.9ms) Completed 200 OK in 157ms (Views: 0.7ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/quotations/6.pdf" for ::1 at 2015-11-18 15:03:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]] Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 6], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data devis_2015-06_SN.pdf (0.7ms) Completed 200 OK in 171ms (Views: 0.6ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/quotations/6.pdf" for ::1 at 2015-11-18 15:05:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"6"} 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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]] Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 6], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data devis_2015-06_SN.pdf (0.7ms) Completed 200 OK in 120ms (Views: 0.6ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 15:05:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} 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", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (0.8ms) Completed 200 OK in 264ms (Views: 0.6ms | ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices/2.pdf" for ::1 at 2015-11-18 15:06:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 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", 4]] 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", 4], ["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", 2]] 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", 4]] Rendered text template (0.0ms) Sent data Facture_2015-02_SN.pdf (1.5ms) Completed 200 OK in 248ms (Views: 1.3ms | ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-18 15:08:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.7ms) 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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (21.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (135.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (146.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 459ms (Views: 348.7ms | ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 15:09:00 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.3ms) 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/_data_context.html.slim (14.8ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (56.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 205.9ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 15:09:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (33.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 219ms (Views: 212.8ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:09:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (54.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (61.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 215.2ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:10:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (100.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 283ms (Views: 277.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:10:03 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:10:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:10:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (21.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (26.7ms) Completed 500 Internal Server Error in 74ms (ActiveRecord: 0.4ms) ActionView::Template::Error (Couldn't find wrapper with name form_inline): 1: #invoice.edit 2: = simple_form_for @invoice, as: :invoice, wrapper: :form_inline do |f| 3: .row 4: .col-md-6 5: .col-md-6 simple_form (3.2.0) lib/simple_form.rb:207:in `wrapper' simple_form (3.2.0) lib/simple_form/form_builder.rb:42:in `initialize' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1210:in `new' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1210:in `instantiate_builder' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:443:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1449454780012609466_70275648560020' 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___1785482656549156917_70275592305980' 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 (9.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.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.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/template_error.html.erb within rescues/layout (90.3ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:11:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.3ms) 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (69.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (75.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 230ms (Views: 222.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:11:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:11:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (80.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (85.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 237ms (Views: 232.6ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:11:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:11:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:11:33 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:13:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (23.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (27.3ms) Completed 500 Internal Server Error in 72ms (ActiveRecord: 0.4ms) ActionView::Template::Error (wrong number of arguments (0 for 1..2)): 1: #invoice.edit 2: = simple_form_for @invoice, as: :invoice, wrapper: :inline_form do |f| 3: h1 4: = @invoice.t 5: 6: .row 7: .col-md-6 activemodel (4.2.4) lib/active_model/translation.rb:43:in `human_attribute_name' /Users/benoit/www/agilidee/dorsale/lib/dorsale/model_i18n.rb:4:in `t' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1449454780012609466_70275686008160' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1449454780012609466_70275686008160' 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___1785482656549156917_70275592305980' 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.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/_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.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 (82.7ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:13:48 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (93.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (118.4ms) Completed 500 Internal Server Error in 234ms (ActiveRecord: 2.1ms) ActionView::Template::Error (wrong number of arguments (0 for 1..2)): 1: #invoice.edit 2: = simple_form_for @invoice, as: :invoice, wrapper: :inline_form do |f| 3: h1 4: = @invoice.t 5: 6: .row 7: .col-md-6 activemodel (4.2.4) lib/active_model/translation.rb:43:in `human_attribute_name' /Users/benoit/www/agilidee/dorsale/lib/dorsale/model_i18n.rb:4:in `t' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293671118040' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293671118040' 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___923459533666558922_70293685017240' 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.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 (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.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 (88.1ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:14:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::PaymentTerm Load (0.3ms) 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (25.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (31.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (1162.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (1169.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.2ms) Completed 200 OK in 1877ms (Views: 1871.1ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:14:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:14:18 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:14:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (75.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (81.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 229ms (Views: 224.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:14:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:14:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:14:26 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:15:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (86.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 246ms (Views: 241.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:15:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:15:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" Dorsale::BillingMachine::InvoiceLine Load (0.7ms) 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (88.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (93.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 247ms (Views: 241.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:15:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:15:48 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:16:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (82.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (87.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 244ms (Views: 240.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:16:20 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:16:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:16:36 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (91.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (97.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 279ms (Views: 274.3ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:16:37 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:16:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (82.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (87.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 258ms (Views: 253.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:16:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:17:00 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:18:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (81.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (86.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 273ms (Views: 267.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:18:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:18:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:18:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:18:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:18:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:18:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:19:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Dorsale::BillingMachine::PaymentTerm Load (0.3ms) 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/_form.html.slim (133.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (137.3ms) Completed 500 Internal Server Error in 187ms (ActiveRecord: 2.9ms) ActionView::Template::Error (undefined local variable or method `lf' for #<#:0x007fdd0de9e890>): 28: tbody 29: = f.simple_fields_for :lines do |l| 30: tr 31: td = lf.input :label 32: 33: 34: /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:31:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732444180' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732444180' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732444180' 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___923459533666558922_70293685017240' 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 (15.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/_trace.html.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/_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 (117.9ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:19:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (12.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (94.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 256ms (Views: 251.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:19:40 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:19:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (15.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (116.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (124.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 311ms (Views: 305.5ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:19:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:19:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (14.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (67.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (73.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 244ms (Views: 239.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:19:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:19:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:19:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:19:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:19:57 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:20:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (22.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (19.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (145.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (149.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 332ms (Views: 327.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:20:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:20:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:20:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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_fields.html.slim (8.6ms) 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/_form.html.slim (98.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (105.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 276ms (Views: 269.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:20:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:20:25 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:20:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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/_form.html.slim (126.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (131.2ms) Completed 500 Internal Server Error in 185ms (ActiveRecord: 1.9ms) ActionView::Template::Error (undefined local variable or method `ln' for #<#:0x007fdd11edb9f8>): 32: td = lf.input :quantity, label: false 33: td = lf.input :unit, label: false 34: td = lf.input :unit_price, label: false 35: td = ln.input :total 36: 37: 38: /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:35:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697492020' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697492020' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697492020' 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___923459533666558922_70293685017240' 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 (6.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.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 (89.2ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:20:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (11.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (93.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 303ms (Views: 297.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:20:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:20:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:21:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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_fields.html.slim (9.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (99.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (104.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 283ms (Views: 278.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:21:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:22:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (33.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (177.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (181.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 354ms (Views: 348.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:22:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:22:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:22:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:22:50 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:23:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Dorsale::BillingMachine::PaymentTerm Load (0.3ms) 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_fields.html.slim (108.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (151.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (162.0ms) Completed 500 Internal Server Error in 240ms (ActiveRecord: 1.4ms) ActionView::Template::Error (undefined local variable or method `lf' for #<#:0x007fdd0ac5b900>): 1: tr 2: td = lf.input :label, label: false 3: td = lf.input :quantity, label: false 4: td = lf.input :unit, label: false 5: td = lf.input :unit_price, label: false /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__3009772204274745935_70293698093800' 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' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `each' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:32:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293668143040' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293668143040' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293668143040' 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___923459533666558922_70293685017240' 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 (27.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 (5.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.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 (102.7ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:23:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.5ms) Completed 500 Internal Server Error in 83ms (ActiveRecord: 0.6ms) ActionView::Template::Error (Association lines doesn't exist on Dorsale::BillingMachine::InvoiceLine): 29: = f.simple_fields_for :lines do |lf| 30: tr 31: td colspan=5 32: = link_to_add_association t("actions.add_line"), lf, :lines, class: "btn btn-primary", id: "add-new-line" 33: 34: 35: cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object' cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:32:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293696944800' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293696944800' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293696944800' 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___923459533666558922_70293685017240' 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 (23.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 (5.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.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 (105.7ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:24:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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_fields.html.slim (95.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (128.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (133.7ms) Completed 500 Internal Server Error in 180ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined local variable or method `lf' for #<#:0x007fdd11cf8c80>): 1: tr 2: td = lf.input :label, label: false 3: td = lf.input :quantity, label: false 4: td = lf.input :unit, label: false 5: td = lf.input :unit_price, label: false /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__3009772204274745935_70293690247660' 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/_form.html.slim:30:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732855780' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732855780' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293732855780' 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___923459533666558922_70293685017240' 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 (13.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 (5.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.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 (89.3ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:24:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) 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_fields.html.slim (8.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (94.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 251ms (Views: 246.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:24:37 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:24:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.5ms) 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 (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 249ms (Views: 241.7ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:24:56 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:25:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (53.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (57.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 218ms (Views: 214.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:25:32 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:27:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (56.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (60.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 231ms (Views: 224.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:27:17 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:27:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (16.5ms) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 229ms (Views: 224.9ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:27:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:28:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (20.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (64.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 237ms (Views: 231.9ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:28:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:28:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:28:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:28:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.4ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 245ms (Views: 236.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:28:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:28:36 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:28:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (23.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (68.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (72.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 252ms (Views: 248.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:28:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:28:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:28:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:28:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:28:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:28:57 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:29:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (62.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 243ms (Views: 238.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:29:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:29:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:29:42 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:30:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (19.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (23.8ms) Completed 500 Internal Server Error in 71ms (ActiveRecord: 0.6ms) SyntaxError (/Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ')', expecting => ...t :label, label: false, rows=3), true, "\n ", _temple_htm... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: Can't assign to true ...l, label: false, rows=3), true, "\n ", _temple_html_prett... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ',', expecting :: or '[' or '.' ...false, rows=3), true, "\n ", _temple_html_pretty1)))).to_... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ';', expecting ')' ...temple_html_pretty1)))).to_s)); ... ^): /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ')', expecting => ...t :label, label: false, rows=3), true, "\n ", _temple_htm... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: Can't assign to true ...l, label: false, rows=3), true, "\n ", _temple_html_prett... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ',', expecting :: or '[' or '.' ...false, rows=3), true, "\n ", _temple_html_pretty1)))).to_... ... ^ /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:2: syntax error, unexpected ';', expecting ')' ...temple_html_pretty1)))).to_s)); ... ^ actionview (4.2.4) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.4) lib/action_view/template.rb:296:in `compile' actionview (4.2.4) lib/action_view/template.rb:245:in `block (2 levels) in compile!' 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:244:in `block in compile!' actionview (4.2.4) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.4) lib/action_view/template.rb:232:in `compile!' actionview (4.2.4) lib/action_view/template.rb:144: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/_form.html.slim:30:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697138680' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:29:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697138680' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__2095726083083326156_70293697138680' 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___923459533666558922_70293685017240' 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 (14.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 (6.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.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/diagnostics.html.erb within rescues/layout (90.9ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:30:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (27.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (25.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (87.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 292ms (Views: 287.9ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:30:15 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:30:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (10.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (39.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 226ms (Views: 221.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:30:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:30:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:30:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (33.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (82.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (86.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 330ms (Views: 325.9ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:30:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:30:38 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:30:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (24.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (67.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 251ms (Views: 245.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:30:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:30:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:30:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:31:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (23.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (63.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 230ms (Views: 226.0ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:31:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:31:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:31:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (44.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 233ms (Views: 228.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:31:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:31:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:31:14 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:31:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (27.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (72.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 240ms (Views: 235.5ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:31:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:31:44 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:32:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (17.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (17.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (68.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (74.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 243ms (Views: 238.6ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:32:57 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:33:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (60.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (65.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 227ms (Views: 222.4ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:33:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:33:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:33:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:33:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:33:13 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:33:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (23.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (58.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 229ms (Views: 224.1ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:33:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:33:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (72.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 238ms (Views: 234.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:33:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:33:41 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 15:33:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yVqzBpRKKAMgWDvTuRrrhS1rVqPxS0Jn5IM/aSB7ybWae7VeU7/3p83w4a+CpDawoed6VLYnDMzOJggdroEn8g==", "invoice"=>{"label"=>"Software service", "date"=>"2015-10-23", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1447857222802"=>{"label"=>"azeazeaze", "quantity"=>"", "unit"=>"", "vat_rate"=>"", "unit_price"=>""}}}, "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate  (0.2ms) begin transaction Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.8ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 1 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "unit", "invoice_id", "quantity", "unit_price", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "azeazeaze"], ["unit", ""], ["invoice_id", 2], ["quantity", 0.0], ["unit_price", 0.0], ["vat_rate", 20.0], ["total", 0.0], ["created_at", "2015-11-18 14:33:50.583197"], ["updated_at", "2015-11-18 14:33:50.583197"]] 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", 2]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]]  (2.8ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 53ms (ActiveRecord: 6.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 15:33:50 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (11.9ms) 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/_data_context.html.slim (13.2ms) 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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (19.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (84.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 273ms (Views: 261.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:33:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:33:51 +0100 Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 15:33:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (53.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 224ms (Views: 218.9ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:33:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.3ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (17.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (17.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (96.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (109.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms) Completed 200 OK in 294ms (Views: 285.0ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:36:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (31.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (113.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (118.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 316ms (Views: 309.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:36:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:36:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:36:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:36:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:36:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:36:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:36:36 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (18.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (26.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (113.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (117.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 289ms (Views: 282.5ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:36:37 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:37:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.7ms) 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (1140.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (1144.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1402ms (Views: 1297.9ms | ActiveRecord: 2.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:37:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:37:35 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:38:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (87.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (93.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 262ms (Views: 257.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:38:28 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:38:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (16.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (90.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (95.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 260ms (Views: 256.0ms | ActiveRecord: 0.6ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:38:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:38:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:39:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (87.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (95.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 293ms (Views: 287.2ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:39:13 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:39:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:39:14 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:40:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (100.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (106.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4449ms (Views: 4444.6ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:40:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:43:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.3ms) 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (113.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (118.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4963ms (Views: 4958.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:43:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:44:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (53.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (119.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (124.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4450ms (Views: 4446.3ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:44:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:44:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:45:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.4ms) 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/_form.html.slim (102.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (107.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4650ms (Views: 4643.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:45:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:45:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:45:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:45:13 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:45:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (122.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 287ms (Views: 282.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:45:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:45:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:45:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:45:45 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:46:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (16.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (17.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (94.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 282.1ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:46:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:46:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:46:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:46:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:46:43 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:47:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.8ms) 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/_form.html.slim (72.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 4413ms (Views: 4407.3ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:47:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:47:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (105.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (110.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4590ms (Views: 4586.3ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:47:20 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:47:25 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:47:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (45.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (84.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 270ms (Views: 265.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:47:54 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:48:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (67.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (74.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 253ms (Views: 248.6ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:48:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:48:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:49:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (63.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 277ms (Views: 270.0ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:49:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:49:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:49:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.1ms) 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/_form.html.slim (32.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4468ms (Views: 4464.2ms | ActiveRecord: 0.5ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:49:46 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:50:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.5ms) 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 4656ms (Views: 4651.7ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:50:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:50:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:50:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (29.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4411ms (Views: 4407.3ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:50:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:50:49 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:51:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (2.4ms) 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/_form.html.slim (62.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4477ms (Views: 4472.0ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:51:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:51:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:51:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4461ms (Views: 4456.9ms | ActiveRecord: 0.5ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:51:45 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:52:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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", 2]] 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", 2]] 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.9ms) 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/_form.html.slim (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (53.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 11099ms (Views: 11094.3ms | ActiveRecord: 0.9ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:52:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:52:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (32.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 331ms (Views: 327.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:52:18 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:52:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (36.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4500ms (Views: 4495.8ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:52:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:52:53 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:52:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (30.1ms) 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.1ms) Completed 200 OK in 224ms (Views: 220.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:52:56 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:53:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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/_form.html.slim (37.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (44.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4399ms (Views: 4394.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:53:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:53:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:54:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4645ms (Views: 4641.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:54:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:54:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:54:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (29.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (35.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4778ms (Views: 4773.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:54:44 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:54:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (29.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (34.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4517ms (Views: 4513.0ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:55:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:55:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (28.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (32.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4579ms (Views: 4574.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:55:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:55:20 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:55:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.7ms) 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 4423ms (Views: 4419.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:55:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:55:53 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:56:34 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (80.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (85.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4449ms (Views: 4445.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:56:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:56:39 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:56:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.1ms) 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/_form.html.slim (79.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (85.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 265ms (Views: 260.8ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:56:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:56:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:57:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (1.3ms) 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/_form.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (48.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4475ms (Views: 4470.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:57:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:57:42 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:57:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (39.1ms) 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 4503ms (Views: 4498.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:57:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:58:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (28.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (33.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4833ms (Views: 4829.0ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:58:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:58:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) 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/_form.html.slim (38.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (45.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4397ms (Views: 4392.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:58:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:58:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:58:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 15:59:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.0ms) 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 (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (97.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (103.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4406ms (Views: 4402.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 15:59:37 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:00:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4395ms (Views: 4390.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:00:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:00:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:01:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.6ms) 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 (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (94.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 276ms (Views: 272.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:01:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:01:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:02:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (60.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4486ms (Views: 4481.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:02:07 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:02:08 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:02:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (54.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4449ms (Views: 4445.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:03:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:03:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:03:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (86.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4474ms (Views: 4469.9ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:04:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:04:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:04:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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 (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (83.0ms) 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.1ms) Completed 200 OK in 262ms (Views: 258.4ms | ActiveRecord: 0.5ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:04:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:04:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:04:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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/_form.html.slim (59.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 249ms (Views: 243.5ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:04:45 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:04:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) 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/_form.html.slim (34.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 218.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:04:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:04:49 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:05:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (76.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 291ms (Views: 286.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:05:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:05:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:05:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:05:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (56.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (61.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 251ms (Views: 246.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:05:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:05:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (78.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 349ms (Views: 341.5ms | ActiveRecord: 1.0ms) Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:05:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:05:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.1ms) 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/_form.html.slim (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (54.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 218.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:05:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:05:47 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:05:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (62.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 261ms (Views: 257.1ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:05:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:06:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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/_form.html.slim (56.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (61.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 243ms (Views: 238.7ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:06:05 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:06:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4564ms (Views: 4560.0ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:06:59 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:07:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (43.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4542ms (Views: 4537.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:07:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:07:54 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:07:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:08:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 285ms (Views: 280.8ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:08:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:08:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:08:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:08:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:08:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:09:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (67.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (72.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 313ms (Views: 307.8ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:09:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:09:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:09:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:09:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:09:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:09:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:09:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) 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 (11.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (61.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 278ms (Views: 274.0ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:09:18 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:10:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) 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/_form.html.slim (61.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 269ms (Views: 260.8ms | ActiveRecord: 1.0ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:10:06 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:10:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:10:07 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 16:10:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0Q4dtH/O/FYrL/Q6s0BvP8LPoGKLdzfbphNpdwDMUaCCLxvsuDsj8saHLkaI/rIKTkOMlcwbeXCMtl4Djja/5w==", "invoice"=>{"label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "1447859411710"=>{"label"=>"", "quantity"=>"10", "unit"=>"jours", "vat_rate"=>"20", "unit_price"=>"500"}}, "commercial_discount"=>"10.0", "advance"=>"5.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (1.0ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 918.0], ["total_including_taxes", 1008.0], ["balance", 1003.0], ["updated_at", "2015-11-18 15:10:26.765987"], ["id", 2]] SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "invoice_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", "jours"], ["unit_price", 500.0], ["invoice_id", 2], ["vat_rate", 20.0], ["total", 5000.0], ["created_at", "2015-11-18 15:10:26.769480"], ["updated_at", "2015-11-18 15:10:26.769480"]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.5ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 5090.0], ["vat_amount", 1018.0], ["total_including_taxes", 6108.0], ["balance", 6103.0], ["updated_at", "2015-11-18 15:10:26.780477"], ["id", 2]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 70ms (ActiveRecord: 6.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 16:10:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.0ms) 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/_data_context.html.slim (2.7ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (46.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 235ms (Views: 221.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:10:27 +0100 Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 16:10:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (28.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 190ms (Views: 183.7ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:10:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.7ms) 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 (3.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (88.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (95.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 377ms (Views: 351.0ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:10:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.6ms) 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 (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4400ms (Views: 4395.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:10:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:10:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:10:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:10:49 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:11:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (88.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (94.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4591ms (Views: 4587.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:11:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:11:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:11:30 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:12:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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 (2.5ms) 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/_form.html.slim (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (53.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4488ms (Views: 4445.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:12:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:12:18 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:13:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4533ms (Views: 4529.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:13:08 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:13:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:13:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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 (3.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4683ms (Views: 4679.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:13:38 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:13:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (83.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4560ms (Views: 4555.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:13:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:14:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (78.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4505ms (Views: 4501.1ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:14:15 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:14:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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 (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4943ms (Views: 4939.1ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:14:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:14:54 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:15:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (43.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (51.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4627ms (Views: 4622.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:15:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:15:59 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:16:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (1.0ms) 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", 2]] 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", 2]] 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) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (42.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4808ms (Views: 4802.9ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:16:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:17:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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/_form.html.slim (92.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 265ms (Views: 260.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:17:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:17:47 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:18:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (71.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 243ms (Views: 239.6ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:18:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:18:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:18:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:18:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:18:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:18:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:18:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (72.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 230.1ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:18:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:18:42 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:19:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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.9ms) 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 (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 266ms (Views: 260.4ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:19:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:19:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:19:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:19:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:19:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:19:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.7ms) 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/_form.html.slim (46.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (51.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4404ms (Views: 4400.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:19:33 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:20:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (82.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4442ms (Views: 4437.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:20:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:20:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:21:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:21:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4367ms (Views: 4362.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:21:46 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:21:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.1ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (109.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (114.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 5424ms (Views: 5420.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:22:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:22:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.8ms) 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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 (99.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4456ms (Views: 4451.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:22:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:22:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.2ms) 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 277ms (Views: 272.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:22:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:22:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:22:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:22:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:23:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:23:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.9ms) 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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (52.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (57.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4620ms (Views: 4616.0ms | ActiveRecord: 0.5ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:23:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:23:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:24:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (63.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4422ms (Views: 4418.4ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:24:33 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:25:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.2ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (78.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (85.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4569ms (Views: 4563.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:25:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:25:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.8ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (76.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (81.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4717ms (Views: 4712.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:25:36 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:26:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.1ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (79.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4458ms (Views: 4453.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:26:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:26:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:26:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (74.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (79.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4824ms (Views: 4819.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:26:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:26:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:26:37 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 16:27:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HEoqSQY920/empQxzwh8ZLcTq5GvtZr5bMdaWGEE03lPaywRwcgE6zMyTk30tqFRO5+HZujZ1FJGYm0s7/49Pg==", "invoice"=>{"label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"20.0", "unit_price"=>"500.0", "id"=>"3"}, "1447860452777"=>{"label"=>"coucou", "quantity"=>"100", "unit"=>"heure", "vat_rate"=>"5.5", "unit_price"=>"400"}}, "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "advance" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["advance", 15.0], ["vat_amount", 9002.313725490196], ["total_including_taxes", 14092.313725490196], ["balance", 14077.313725490196], ["updated_at", "2015-11-18 15:27:53.527502"], ["id", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "label" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["label", "hello"], ["updated_at", "2015-11-18 15:27:53.529627"], ["id", 3]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1018.0], ["total_including_taxes", 6108.0], ["balance", 6093.0], ["updated_at", "2015-11-18 15:27:53.536596"], ["id", 2]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "invoice_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "coucou"], ["quantity", 100.0], ["unit", "heure"], ["unit_price", 400.0], ["invoice_id", 2], ["vat_rate", 20.0], ["total", 40000.0], ["created_at", "2015-11-18 15:27:53.538698"], ["updated_at", "2015-11-18 15:27:53.538698"]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 45090.0], ["vat_amount", 9018.0], ["total_including_taxes", 54108.0], ["balance", 54093.0], ["updated_at", "2015-11-18 15:27:53.545499"], ["id", 2]]  (3.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 84ms (ActiveRecord: 6.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 16:27:53 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.8ms) 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/_data_context.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.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 219ms (Views: 213.9ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:27:53 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:27:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:27:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:27:54 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:27:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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 (0.9ms) 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 (2.0ms) 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/_form.html.slim (52.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (59.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 241ms (Views: 237.6ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:27:57 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:28:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) 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/_form.html.slim (71.9ms) 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 237ms (Views: 232.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:28:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:28:31 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 16:28:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A5hKeS7d5GVu03Jqz0nXiu4z6lvmLV3+A3BTNp8OF2JQuUwh6Sg7wYN7qBb09wq/Yr/GrKFBE1Up1WRCEfT5JQ==", "invoice"=>{"label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"20.0", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"20.0", "unit_price"=>"400.0", "id"=>"4"}}, "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1819.5964523281596], ["total_including_taxes", 46909.59645232816], ["balance", 46894.59645232816], ["updated_at", "2015-11-18 15:28:43.965319"], ["id", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["total", 4000.0], ["updated_at", "2015-11-18 15:28:43.967202"], ["id", 4]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.8ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 9090.0], ["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 15:28:43.974980"], ["id", 2]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 46ms (ActiveRecord: 6.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 16:28:43 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.4ms) 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/_data_context.html.slim (3.1ms) 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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (46.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 225ms (Views: 219.6ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:28:44 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:28:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 2]] 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.5ms) 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/_form.html.slim (76.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 254ms (Views: 249.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:28:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:28:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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 (2.9ms) 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) 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/_form.html.slim (83.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (93.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 322ms (Views: 313.1ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:28:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:28:48 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:29:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (7.7ms) Completed 500 Internal Server Error in 54ms (ActiveRecord: 0.6ms) ActionView::Template::Error (Malformed indentation /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim, Line 10, Column 10 - else ^ ): 7: .well 8: - if @id_cards.one? 9: = f.hidden_field :id_card_id 10: - else 11: = f.input :id_card_id, collection: @id_cards 12: 13: = f.input :label /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:10 slim (3.0.6) lib/slim/parser.rb:503:in `syntax_error!' slim (3.0.6) lib/slim/parser.rb:184:in `parse_line' slim (3.0.6) lib/slim/parser.rb:90:in `call' temple (0.7.6) lib/temple/engine.rb:50:in `block in call' temple (0.7.6) lib/temple/engine.rb:50:in `each' temple (0.7.6) lib/temple/engine.rb:50:in `inject' temple (0.7.6) lib/temple/engine.rb:50:in `call' temple (0.7.6) lib/temple/mixins/template.rb:10:in `compile' temple (0.7.6) lib/temple/templates/rails.rb:8:in `call' actionview (4.2.4) lib/action_view/template.rb:270:in `compile' actionview (4.2.4) lib/action_view/template.rb:245:in `block (2 levels) in compile!' 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:244:in `block in compile!' actionview (4.2.4) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.4) lib/action_view/template.rb:232:in `compile!' actionview (4.2.4) lib/action_view/template.rb:144: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___923459533666558922_70293685017240' 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 (13.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 (9.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.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 (105.8ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:29:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.9ms) 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.6ms) 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/_form.html.slim (84.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 309ms (Views: 301.0ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:29:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:29:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:31:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.2ms) 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.2ms) 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 269ms (Views: 263.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:31:07 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:31:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.1ms) 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.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 (106.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (111.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 290ms (Views: 285.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:31:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:31:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:31:26 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:32:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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 (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 (62.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4463ms (Views: 4452.4ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:32:35 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:33:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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.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 (99.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (106.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4431ms (Views: 4426.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:33:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:33:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.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 (102.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (108.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4383ms (Views: 4378.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:33:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:33:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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) 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.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 (96.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (102.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4481ms (Views: 4476.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:33:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:33:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:33:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:33:46 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:34:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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.4ms) 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 (77.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 274ms (Views: 269.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:34:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:34:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:34:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.6ms) 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.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 (97.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (103.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 295ms (Views: 289.3ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:34:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:34:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:34:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:34:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:34:31 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:34:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) 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.7ms) 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.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 (86.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 293ms (Views: 287.5ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:34:43 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:34:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.4ms) 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) 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 (108.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (113.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 306ms (Views: 301.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:34:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:34:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:34:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:34:51 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:35:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) 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) 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 (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 289ms (Views: 282.7ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:35:03 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:35:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) 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 (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4460ms (Views: 4454.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:35:50 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:37:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.2ms) 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 (73.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 282ms (Views: 276.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:37:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:37:56 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:37:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (63.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 237ms (Views: 231.8ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:37:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:38:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) 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 (3.4ms) 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 (85.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 255ms (Views: 250.4ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:38:38 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:38:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.5ms) 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 (109.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (116.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 317ms (Views: 312.0ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:38:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:38:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:39:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) 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 (2.0ms) 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 (1.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 (114.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (120.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 337ms (Views: 332.1ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:39:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:39:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:41:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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 (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (18.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 (80.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (86.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 248ms (Views: 243.6ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:41:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:41:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:41:27 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:43:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (86.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 297ms (Views: 291.1ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:43:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:43:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:43:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.7ms) 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) 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 (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 267ms (Views: 262.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:43:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:43:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (2.1ms) 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.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 (83.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 280ms (Views: 275.2ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:43:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:43:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:43:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.4ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) 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 (2.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 (92.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 294ms (Views: 288.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:43:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:43:43 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:44:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (19.4ms) 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 (78.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 257ms (Views: 252.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:44:23 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:44:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:44:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:44:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:44:24 +0100 Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 16:45:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (5.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", 2]] Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (68.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 479ms (Views: 459.1ms | ActiveRecord: 7.6ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:48:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (1.0ms) 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 (2.6ms) 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 (79.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 263ms (Views: 257.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:48:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:48:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.2ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) 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 (84.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 258ms (Views: 253.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:48:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:48:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:48:49 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:48:50 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:49:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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.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 (85.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 272ms (Views: 266.7ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:49:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:50:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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 (85.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 259ms (Views: 253.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:50:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:50:56 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:51:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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) 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 (102.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (108.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 329ms (Views: 323.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:51:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:51:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:52:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.5ms) 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 (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (20.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 (106.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (111.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 302ms (Views: 297.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:52:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:53:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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 (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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 (84.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 261ms (Views: 255.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:53:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:53:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:53:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.7ms) 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.6ms) 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.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (94.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 278ms (Views: 273.1ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:53:42 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:54:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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 (74.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 280ms (Views: 269.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:54:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:54:20 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:54:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.3ms) 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 (113.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (121.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 306ms (Views: 301.0ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:54:33 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:54:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:55:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.9ms) 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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 (3.8ms) 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 (103.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (108.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 386ms (Views: 272.9ms | ActiveRecord: 4.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:55:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:55:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:55:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:55:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.9ms) 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 (94.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (100.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 385ms (Views: 266.7ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:55:13 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:59:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.7ms) 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.1ms) 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) 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 (97.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (103.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 403ms (Views: 285.2ms | ActiveRecord: 3.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:59:14 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 16:59:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.6ms) 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 (97.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (102.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 413ms (Views: 293.4ms | ActiveRecord: 3.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 16:59:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 16:59:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 16:59:52 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:00:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mv65A/wDA80oa7DJZwfPodf1U6oNvCrd6SJbk2voF/DJ379bO/bcacXDarVcuRKUW3l/XUrQZHbDh2zn5RL5tw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"5", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"8", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"10", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]] Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate Unpermitted parameter: vat_rate  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:00:01.962462"], ["id", 2]]  (2.9ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 31ms (ActiveRecord: 5.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:00:01 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (2.5ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 273ms (Views: 261.1ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:00:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.4ms) 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 (57.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (62.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 221ms (Views: 217.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:05 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:00:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.1ms) 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.1ms) 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 (60.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 240ms (Views: 236.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:07 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:00:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vLl0XVP8FH47QdG1xZOjp24ebxMi93uk7+TXQWeEAnTvmHIFlAnL2tbpC8n+LX6S4pJD5GWbNQ/FQeA16X7sMw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"5", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"10", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"15", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} Dorsale::CustomerVault::Individual Load (0.8ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 2]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:00:43.795676"], ["id", 2]]  (2.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 164ms (ActiveRecord: 6.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:00:43 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (3.7ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 234ms (Views: 222.8ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:44 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:00:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.7ms) 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.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 (67.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (74.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 323ms (Views: 314.5ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:00:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 239ms (Views: 234.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:47 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:00:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.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 (85.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (101.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 268ms (Views: 263.3ms | ActiveRecord: 1.2ms) Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:00:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:00:53 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:01:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qZ35C2YFdgmabJhXHU3zP0gK7WYyP5e6ieGAJP9PKHv6vP9TofCprXfEQism8y4KxIbBkXVT2RGjRLdQcbXGPA==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"20.0", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"10", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:01:22.879087"], ["id", 2]]  (2.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 30ms (ActiveRecord: 4.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:01:22 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (3.1ms) 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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 220ms (Views: 212.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:01:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:01:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) 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.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 (63.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 264ms (Views: 259.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:01:26 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:01:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:02:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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 (3.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 (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 249ms (Views: 244.2ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:02:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:02:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (105.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (110.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 429ms (Views: 316.0ms | ActiveRecord: 4.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:02:27 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:02:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Glpf1ZxStJjca5HJqob3x04u3O+/M0u/BIeILrUvzTBJe1mNW6drPDHDS7WROCrywqLwGPhfBRQuIr9aO9Ujdw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"20.0", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"10", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]  (0.2ms) rollback transaction Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.5ms) NoMethodError (undefined method `apply_vat_rate_to_lines' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/persistence.rb:252:in `block in update' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/persistence.rb:250:in `update' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:116:in `update' 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:38: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 (8.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/_trace.html.erb (5.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.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/diagnostics.html.erb within rescues/layout (87.7ms) Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:02:34 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Glpf1ZxStJjca5HJqob3x04u3O+/M0u/BIeILrUvzTBJe1mNW6drPDHDS7WROCrywqLwGPhfBRQuIr9aO9Ujdw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"20.0", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"20.0", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"10", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1418.4395604395604], ["total_including_taxes", 10508.439560439561], ["balance", 10493.439560439561], ["updated_at", "2015-11-18 16:02:35.331993"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 10.0], ["updated_at", "2015-11-18 16:02:35.333862"], ["id", 4]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1418.4395604395604], ["total_including_taxes", 10508.439560439561], ["balance", 10493.439560439561], ["updated_at", "2015-11-18 16:02:35.341128"], ["id", 2]]  (2.3ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 203ms (ActiveRecord: 10.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:02:35 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (4.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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (46.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.8ms) Completed 200 OK in 243ms (Views: 230.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:02:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:02:36 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:02:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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 (1.4ms) 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 (88.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (95.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 269ms (Views: 263.9ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:02:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.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 (86.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (91.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 254ms (Views: 248.7ms | ActiveRecord: 1.2ms) Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:02:40 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:02:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.2ms) 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.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 (67.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (73.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 231ms (Views: 226.0ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:02:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:02:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:02:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:02:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:02:42 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.9ms) 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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) 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (103.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 398ms (Views: 281.7ms | ActiveRecord: 4.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:02 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:03:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pTLZrGb60bUgleoT0FXoL31ex0c0JEvkrqXx8euZj+j2E9/0oQ8OEc09MG/r6zUa8dLrsHNIBU+EAMaFZWNhrw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "vat_rate"=>"20.0", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "vat_rate"=>"15", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "vat_rate"=>"5", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "vat_rate"=>"10.0", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 669.2637362637363], ["total_including_taxes", 9759.263736263736], ["balance", 9744.263736263736], ["updated_at", "2015-11-18 16:03:07.295938"], ["id", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 15.0], ["updated_at", "2015-11-18 16:03:07.298013"], ["id", 2]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.8ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1418.4395604395604], ["total_including_taxes", 10508.439560439561], ["balance", 10493.439560439561], ["updated_at", "2015-11-18 16:03:07.305022"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 5.0], ["updated_at", "2015-11-18 16:03:07.308667"], ["id", 3]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 669.2637362637363], ["total_including_taxes", 9759.263736263736], ["balance", 9744.263736263736], ["updated_at", "2015-11-18 16:03:07.316545"], ["id", 2]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 61ms (ActiveRecord: 6.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:03:07 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.8ms) 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/_data_context.html.slim (3.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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 251ms (Views: 241.5ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:07 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:08 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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 (4.3ms) 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 (63.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 232ms (Views: 227.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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.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 (55.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (60.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 231.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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) 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.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 (103.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (109.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 420ms (Views: 301.0ms | ActiveRecord: 4.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:22 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-18 17:03:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"o4nrw5mBYFBQ+Y4Gu9dgIzIcZu4owEpOEQxYWCC+UzzwqO2bXnS/9L1RVHqAab0WvpBKGW+sBOU7qW8srkS9ew==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10.0", "unit"=>"ll", "unit_price"=>"10.0", "id"=>"1"}, "1"=>{"label"=>"azeazeaze", "quantity"=>"0.0", "unit"=>"", "unit_price"=>"0.0", "id"=>"2"}, "2"=>{"label"=>"hello", "quantity"=>"10.0", "unit"=>"jours", "unit_price"=>"500.0", "id"=>"3"}, "3"=>{"label"=>"coucou", "quantity"=>"10.0", "unit"=>"heure", "unit_price"=>"400.0", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10.0", "vat_rate"=>"20.0", "advance"=>"15.0"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} 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", 2]]  (0.1ms) begin transaction 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", 4]] 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 LIMIT 1 [["invoice_id", 2]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 2]] 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", 4]]  (0.3ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:03:26.704798"], ["id", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-18 16:03:26.707140"], ["id", 2]] 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", 2]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:03:26.714839"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-18 16:03:26.717232"], ["id", 3]] 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", 2]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:03:26.727316"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-18 16:03:26.729325"], ["id", 4]] 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", 2]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-18 16:03:26.744943"], ["id", 2]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 75ms (ActiveRecord: 7.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-18 17:03:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.7ms) 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/_data_context.html.slim (2.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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 222ms (Views: 211.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:27 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.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 (71.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 274ms (Views: 269.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:30 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:03:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.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 (94.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (99.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 362ms (Views: 251.2ms | ActiveRecord: 4.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:03:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:03:36 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-18 17:06:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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.3ms) 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 (114.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (144.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 434ms (Views: 331.6ms | ActiveRecord: 4.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-18 17:06:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-18 17:06:47 +0100 Started GET "/" for ::1 at 2015-11-19 09:20:05 +0100 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 (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.3ms) Completed 200 OK in 746ms (Views: 735.2ms | ActiveRecord: 0.0ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:20:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:20:07 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 09:20:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.6ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (938.5ms) Dorsale::BillingMachine::Invoice Load (0.6ms) 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/_data_context.html.slim (36.5ms) 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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (50.1ms)  (0.8ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1070.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1267ms (Views: 1233.5ms | ActiveRecord: 3.9ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-19 09:20:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] 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", 4]] Dorsale::Address Load (0.6ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (78.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 252ms (Views: 234.3ms | ActiveRecord: 3.3ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:20:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.8ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.6ms) 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 (227.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (239.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms) Completed 200 OK in 424ms (Views: 415.8ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:20:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.3ms) 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) 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 (7.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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (101.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4359ms (Views: 4354.2ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:20:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:20:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:20:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:20:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:20:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:20:57 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:21:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.4ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (64.2ms) 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 4672ms (Views: 4666.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:21:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:21:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:21:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:21:35 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:22:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.8ms) 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.2ms) 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 (79.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 243ms (Views: 238.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:22:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:22:48 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:24:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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.2ms) 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 (86.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 278ms (Views: 273.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:24:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:24:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:24:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:24:25 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:25:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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.6ms) 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 (57.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4220ms (Views: 4216.3ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:25:14 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:25:15 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:25:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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.1ms) 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 (78.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4372ms (Views: 4367.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:25:29 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:25:30 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:25:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.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 (59.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4432ms (Views: 4427.3ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:25:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:25:51 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:26:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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 (4.1ms) 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 (73.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (78.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 231ms (Views: 226.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:26:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:26:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:26:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.2ms) 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 (61.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4379ms (Views: 4373.9ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:26:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:26:53 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:27:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) 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.4ms) 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 (71.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 245ms (Views: 240.8ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:27:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:27:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:27:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:27:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.9ms) 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.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 (114.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (119.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 4505ms (Views: 4501.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:27:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:27:25 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:28:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.4ms) 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) 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 (74.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (80.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4488ms (Views: 4483.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:28:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:28:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:28:46 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:29:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (61.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4126ms (Views: 4122.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:29:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:29:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.8ms) 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.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 (75.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4511ms (Views: 4505.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:29:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:29:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:29:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:29:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:29:40 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 09:29:54 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.2ms) 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/_data_context.html.slim (2.6ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.4ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (45.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4526ms (Views: 4519.2ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:29:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:30:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:30:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:30:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:30:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:30:00 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:30:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML 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::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_fields.html.slim (3.1ms) 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 (150.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (190.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 629ms (Views: 612.3ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:30:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.9ms) 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 (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (52.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 208ms (Views: 202.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:30:58 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:33:36 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.8ms) 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 (26.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (32.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 197ms (Views: 191.0ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:33:37 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:33:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_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 (32.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (37.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 215ms (Views: 208.8ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:33:39 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:33:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.2ms) 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 (33.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (39.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 230ms (Views: 223.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:33:40 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 09:33:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.5ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (4.5ms) Dorsale::BillingMachine::Invoice Load (0.6ms) 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/_data_context.html.slim (6.5ms) Dorsale::BillingMachine::Invoice Load (0.6ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (13.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (62.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 345ms (Views: 332.5ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 09:33:43 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) 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/_data_context.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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 206.2ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:33:43 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:33:44 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:33:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.8ms) 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 (43.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (51.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 218ms (Views: 211.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 09:34:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.7ms) 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 (41.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (46.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 203ms (Views: 197.9ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:34:07 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:38:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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 (2.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 (55.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (60.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 212ms (Views: 208.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:38:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:38:08 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:40:04 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:41:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.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 (640.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (646.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 990ms (Views: 985.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:41:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:41:37 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:42:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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.3ms) 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.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (76.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 281ms (Views: 274.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:42:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:42:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:42:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.4ms) 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.4ms) 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 (343.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (349.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 537ms (Views: 531.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:42:41 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:43:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (346.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (352.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 544ms (Views: 536.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:43:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:45:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (3.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 (349.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (355.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 941ms (Views: 936.0ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:45:33 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:46:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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 (58.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 676ms (Views: 669.6ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:46:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:46:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) 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.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 (338.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (343.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 554ms (Views: 547.8ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:46:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:46:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:46:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:46:32 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:48:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.8ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.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 (342.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (348.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 526ms (Views: 520.1ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:48:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:48:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.8ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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 (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) 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 (374.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (381.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 608ms (Views: 597.3ms | ActiveRecord: 1.9ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:48:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:48:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::InvoiceLine Load (0.7ms) 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) 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 (126.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (133.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 360ms (Views: 351.9ms | ActiveRecord: 2.0ms) Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:48:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:48:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:48:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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.6ms) 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.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (339.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (345.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 571ms (Views: 566.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:49:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:49:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:49:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:49:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:49:34 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.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 (320.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (325.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 501ms (Views: 495.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:49:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:49:36 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:49:38 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:51:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.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 (338.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (345.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 555ms (Views: 549.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:51:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:51:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:51:40 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:52:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.4ms) 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.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.7ms) 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.6ms) 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 (370.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (376.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 642ms (Views: 635.2ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:52:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:52:29 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:52:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.6ms) 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.6ms) 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 (82.5ms) 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.1ms) Completed 200 OK in 287ms (Views: 280.3ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:52:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:53:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.7ms) 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.6ms) 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 (59.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 229.2ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:53:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:53:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:53:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:53:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:53:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:53:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:53:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.2ms) 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) 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 (7.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 (76.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (82.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 254ms (Views: 248.8ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:53:28 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:54:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.3ms) 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.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 (337.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (344.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 524ms (Views: 519.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:54:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:54:53 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:55:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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 (3.5ms) 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 (318.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (324.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 487ms (Views: 482.8ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:55:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:55:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:55:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (54.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 646ms (Views: 640.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:55:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:55:27 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:56:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (1.2ms) 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 (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 (322.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (328.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 498ms (Views: 491.7ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:56:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:56:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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 (2.6ms) 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 (326.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (332.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 507ms (Views: 502.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:56:31 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:57:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (1.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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.3ms) 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 (329.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (334.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 525ms (Views: 516.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:57:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:57:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:57:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:57:53 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 09:58:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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) 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.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 (384.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (391.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 603ms (Views: 596.9ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 09:58:25 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:01:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) 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.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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 (351.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (357.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 548ms (Views: 543.4ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:01:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:01:53 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:06:45 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:07:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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 (3.4ms) 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.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 (342.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (348.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 526ms (Views: 519.4ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:07:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:07:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:07:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:07:31 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:09:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.8ms) 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.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 (336.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (344.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 518ms (Views: 512.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:09:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:09:51 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 10:10:43 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.7ms) 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/_data_context.html.slim (2.9ms) 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 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.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 184ms (Views: 178.5ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:10:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.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 (335.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (341.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 518ms (Views: 512.6ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:11:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_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 (306.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (314.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 507ms (Views: 498.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:11:15 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:11:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::IdCard Load (0.6ms) 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_fields.html.slim (1.6ms) 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 (346.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (354.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 556ms (Views: 547.8ms | ActiveRecord: 1.1ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:11:36 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:11:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_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 (327.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (333.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 536ms (Views: 527.8ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:11:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:11:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:11:46 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:14:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.4ms) 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::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_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) 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 (307.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (312.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 514ms (Views: 503.2ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:14:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:14:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:14:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:14:51 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:15:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.7ms) 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 (321.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (327.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 499ms (Views: 492.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:15:06 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:16:34 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) 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 (313.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (319.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 486ms (Views: 478.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:16:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:16:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:16:35 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:16:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML 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::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_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.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 (42.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (50.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 291ms (Views: 283.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:16:48 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-19 10:20:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML 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::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_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 (59.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (67.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 705ms (Views: 697.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:20:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:20:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:20:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:20:05 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 10:22:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.7ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.6ms) Dorsale::BillingMachine::Invoice Load (1.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/_data_context.html.slim (11.9ms) Dorsale::BillingMachine::Invoice Load (1.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.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (23.6ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (114.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 1115ms (Views: 1094.7ms | ActiveRecord: 4.9ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-19 10:22:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (21.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 211ms (Views: 206.6ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:22:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.0ms) 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 (86.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (93.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 279ms (Views: 270.8ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:22:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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) 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 (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (74.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 1021ms (Views: 1014.4ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:22:50 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:22:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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.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 (62.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 237ms (Views: 231.7ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:22:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:23:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.1ms) 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 (1.4ms) 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 (62.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 265ms (Views: 259.9ms | ActiveRecord: 0.9ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:23:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:23:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) 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 (61.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 249ms (Views: 244.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:23:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:23:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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.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 (58.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 242ms (Views: 236.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:23:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:23:17 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:23:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.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 (61.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 270ms (Views: 265.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:23:22 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:24:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.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 (77.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 265ms (Views: 259.7ms | ActiveRecord: 1.1ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:24:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:24:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.0ms) 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.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 (79.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 250ms (Views: 245.8ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:24:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:24:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) 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.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 (60.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 722ms (Views: 716.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:24:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:24:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:24:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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 (2.6ms) 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 (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 230.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:24:59 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:40:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.5ms) 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 (58.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 663ms (Views: 658.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:40:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:40:20 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:43:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) 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 (63.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 679ms (Views: 672.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:43:08 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:43:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:43:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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 (3.4ms) 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.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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 778ms (Views: 772.7ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:43:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (1.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.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 (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 297ms (Views: 289.5ms | ActiveRecord: 2.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:43:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:43:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:43:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:43:27 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:44:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) 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.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 (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (59.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 214ms (Views: 208.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:44:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:44:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:44:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:44:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:44:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:44:26 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:50:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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 (1.2ms) 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.5ms) 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 (58.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 683ms (Views: 677.7ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:50:01 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:50:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.4ms) 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.3ms) 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 (70.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 739ms (Views: 733.2ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:50:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:50:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (61.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 240ms (Views: 235.0ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:50:41 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:51:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) 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.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 (74.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 779ms (Views: 773.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:51:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:51:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:51:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:51:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:51:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:51:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.3ms) 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 (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.9ms) 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (81.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 755ms (Views: 748.4ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:51:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:52:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.2ms) 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) 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 (57.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (62.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 709ms (Views: 703.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:52:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:52:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) 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.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 (325.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (331.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 928ms (Views: 922.9ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:52:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:52:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.9ms) 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 (59.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 751ms (Views: 745.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:52:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:52:27 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:52:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) 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 (1.0ms) 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 (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 231ms (Views: 225.9ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:52:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:52:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 10:52:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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.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 (62.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 255ms (Views: 247.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 10:52:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 10:52:54 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:04:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (82.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (87.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 325ms (Views: 230.3ms | ActiveRecord: 3.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:04:02 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:07:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (56.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 654ms (Views: 649.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:07:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:07:13 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:07:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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) 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 (60.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 238ms (Views: 228.4ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:07:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:07:15 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:07:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 699ms (Views: 694.6ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:07:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:07:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:07:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) 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 (60.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 226ms (Views: 221.3ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:07:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:07:34 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:07:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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) 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 (53.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 211.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:07:35 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:08:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.3ms) 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) 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 (54.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (60.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 226ms (Views: 220.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:08:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:08:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:08:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:08:33 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:09:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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.6ms) 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 (57.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 662ms (Views: 657.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:09:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:09:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:09:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:09:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:09:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:09:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:13:08 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:14:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.4ms) 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.7ms) 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 (63.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 689ms (Views: 684.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:14:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:14:02 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 11:17:52 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.6ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (5.6ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (23.8ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (70.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 252ms (Views: 226.3ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:17:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (1.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (11.6ms) Dorsale::Alexandrie::Attachment Load (0.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (30.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (84.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 241ms (Views: 233.5ms | ActiveRecord: 3.4ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:17:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (15.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (82.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (93.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 256ms (Views: 248.2ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 11:18:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.4ms) 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/_data_context.html.slim (3.3ms) 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 207.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:18:32 +0100 Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-19 11:18:34 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} 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", 2]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 182ms (Views: 178.2ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:18:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.5ms) 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.5ms) 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.3ms) 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 (90.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 275ms (Views: 266.6ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:22:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (72.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (81.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 237ms (Views: 231.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:22:39 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:22:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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) 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 (2.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 (61.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 246ms (Views: 240.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:22:41 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:23:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (33.4ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.4ms) ActionView::Template::Error (Missing partial invoices/_form with {:locale=>[:fr], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :coffee]}. Searched in: * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bh-1.3.4/lib/bh/views" * "/Users/benoit/www/agilidee/dorsale/spec/dummy/app/views" * "/Users/benoit/www/agilidee/dorsale/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bootstrap-kaminari-views-0.0.5/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/kaminari-0.16.3/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-3.5.2/app/views" ): 1: = render "invoices/form", invoice: @quotation 2: 3: /#quotation.edit 4: = horizontal_form_for @quotation, as: :quotation do |f| actionview (4.2.4) lib/action_view/path_set.rb:46:in `find' actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:294: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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135178304300' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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 (11.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/_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.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 (92.9ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:23:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (19.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 (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (88.4ms) Completed 500 Internal Server Error in 131ms (ActiveRecord: 1.0ms) ActionView::Template::Error (undefined method `due_date' for #): 44: = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#invoice_lines-table tbody", "data-association-insertion-method" => "append" 45: 46: = f.input :payment_term_id, collection: @payment_terms 47: = f.input :due_date, html5: true 48: = f.input :paid, as: :select, include_blank: false 49: 50: .col-sm-6 activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:38:in `value_before_type_cast' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1323:in `text_field' simple_form (3.2.0) lib/simple_form/inputs/string_input.rb:14:in `input' simple_form (3.2.0) lib/simple_form/wrappers/leaf.rb:19:in `call' simple_form (3.2.0) lib/simple_form/wrappers/leaf.rb:19:in `render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:28:in `block in render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `each' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:28:in `block in render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `each' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `render' simple_form (3.2.0) lib/simple_form/wrappers/root.rb:15:in `render' simple_form (3.2.0) lib/simple_form/form_builder.rb:116:in `input' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135184691740' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135184691740' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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.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.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 (93.9ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:23:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.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 (180.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (185.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (190.0ms) Completed 500 Internal Server Error in 237ms (ActiveRecord: 1.5ms) ActionView::Template::Error (undefined local variable or method `obj' for #<#:0x007f933e359c28>): 45: 46: = f.input :payment_term_id, collection: @payment_terms 47: 48: - if obj.respond_to?(:due_date) 49: = f.input :due_date, html5: true 50: 51: = f.input :paid, as: :select, include_blank: false /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135190120860' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135190120860' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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.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.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.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.1ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:24:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (13.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.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 (66.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (75.1ms) Completed 500 Internal Server Error in 121ms (ActiveRecord: 1.1ms) ActionView::Template::Error (undefined method `paid' for #): 48: - if invoice.respond_to?(:due_date) 49: = f.input :due_date, html5: true 50: 51: = f.input :paid, as: :select, include_blank: false 52: 53: .col-sm-6 54: table#totals-table activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.4) lib/action_view/helpers/tags/collection_select.rb:16:in `block in render' actionview (4.2.4) lib/action_view/helpers/tags/collection_select.rb:16:in `fetch' actionview (4.2.4) lib/action_view/helpers/tags/collection_select.rb:16:in `render' actionview (4.2.4) lib/action_view/helpers/form_options_helper.rb:202:in `collection_select' actionview (4.2.4) lib/action_view/helpers/form_options_helper.rb:789:in `collection_select' simple_form (3.2.0) lib/simple_form/inputs/collection_select_input.rb:9:in `input' simple_form (3.2.0) lib/simple_form/wrappers/leaf.rb:19:in `call' simple_form (3.2.0) lib/simple_form/wrappers/leaf.rb:19:in `render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:28:in `block in render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `each' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:28:in `block in render' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `each' simple_form (3.2.0) lib/simple_form/wrappers/many.rb:26:in `render' simple_form (3.2.0) lib/simple_form/wrappers/root.rb:15:in `render' simple_form (3.2.0) lib/simple_form/form_builder.rb:116:in `input' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:51:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70134984574920' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70134984574920' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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 (13.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/_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.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.0ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:24:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.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 (162.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (166.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (171.9ms) Completed 500 Internal Server Error in 220ms (ActiveRecord: 1.4ms) ActionView::Template::Error (undefined local variable or method `obj' for #<#:0x007f933fc8d4b0>): 48: - if invoice.respond_to?(:due_date) 49: = f.input :due_date, html5: true 50: 51: - if obj.respond_to?(:paid) 52: = f.input :paid, as: :select, include_blank: false 53: 54: .col-sm-6 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:51:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135187402040' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135187402040' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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 (15.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 (5.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.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/template_error.html.erb within rescues/layout (91.5ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:24:32 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_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 (78.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (84.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (90.2ms) Completed 500 Internal Server Error in 134ms (ActiveRecord: 1.2ms) ActionView::Template::Error (undefined method `advance' for #): 100: = ::Dorsale::BillingMachine::InvoiceLine.t(:advance) 101: 102: td.invoice-advance 103: = f.text_field :advance, class: "number" 104: = "€" 105: 106: tr activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:38:in `value_before_type_cast' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1323:in `text_field' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:103:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135198383940' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135198383940' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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.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 (5.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.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.0ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:24:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.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 (79.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (85.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (92.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 265ms (Views: 258.7ms | ActiveRecord: 1.4ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:24:59 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:25:31 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (11.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 (53.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (59.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (66.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 242ms (Views: 236.7ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:25:31 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:25:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:25:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:25:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:25:32 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:25:33 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (14.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 (53.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (57.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (63.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 249ms (Views: 244.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:25:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:25:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:25:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:25:34 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:25:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (45.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (51.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (56.4ms) Completed 500 Internal Server Error in 109ms (ActiveRecord: 1.2ms) ActionView::Template::Error (Missing partial dorsale/billing_machine/invoice/_line_fields with {:locale=>[:fr], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :coffee]}. Searched in: * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bh-1.3.4/lib/bh/views" * "/Users/benoit/www/agilidee/dorsale/spec/dummy/app/views" * "/Users/benoit/www/agilidee/dorsale/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bootstrap-kaminari-views-0.0.5/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/kaminari-0.16.3/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views" * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-3.5.2/app/views" ): 1: = render "dorsale/billing_machine/invoice/line_fields", f: f 2: 3: /.well.nested-fields.quotation-line 4: .row actionview (4.2.4) lib/action_view/path_set.rb:46:in `find' actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:294: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/quotations/_line_fields.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__line_fields_html_slim___4301715593362997223_70135091023080' 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/_form.html.slim:40:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135210574720' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:39:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135210574720' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__3403401750999246427_70135210574720' 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/quotations/_form.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations__form_html_slim__1988143234127458147_70135203721380' 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/quotations/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_quotations_edit_html_slim__1002828253257108670_70134988034960' 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 (15.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.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.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 (90.0ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:25:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (15.0ms) 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/quotations/_line_fields.html.slim (9.7ms) 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 (54.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (59.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (64.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 228ms (Views: 223.7ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:25:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:25:59 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:26:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (11.2ms) 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/quotations/_line_fields.html.slim (11.2ms) 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 (55.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (63.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 268ms (Views: 263.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:26:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:26:20 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:28:14 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"C17zBJdngd4mKFlf9y11ILJ/F5swJXHa1ofe0+i+SohYf/VcUJJeesuAgyPMk6gVPvM7bHdJP3H8IumnZkSkzw==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1447928864228"=>{"label"=>"plop", "quantity"=>"100,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"2,00"}}, "payment_term_id"=>"4", "commercial_discount"=>"10,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Completed 400 Bad Request in 6ms (ActiveRecord: 0.4ms) ActionController::ParameterMissing (param is missing or the value is empty: quotation): actionpack (4.2.4) lib/action_controller/metal/strong_parameters.rb:251:in `require' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:188:in `quotation_params' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:117:in `update' 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:38: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 (8.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 (3.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.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/diagnostics.html.erb within rescues/layout (78.2ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:29:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.5ms) 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/quotations/_line_fields.html.slim (6.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 (72.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (80.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (86.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 281ms (Views: 276.6ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:29:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:29:59 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:30:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gv6pcqTS6c2Uldy02iCzp0MfvpoK9UfdTMB/fR+hY8TR368qYyc2aXk9Bsjhnm6Sz5OSbU2ZCXZmZUgJkVuNgw==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}}, "payment_term_id"=>"4", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-19 10:30:02.621007"], ["id", 6]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit", "0,00"], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 10:30:02.623641"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (2.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 34ms (ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 11:30:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.3ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (17.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (50.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.8ms) Completed 200 OK in 236ms (Views: 230.5ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:30:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:30:03 +0100 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:30:05 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (10.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (28.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 177ms (Views: 172.6ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:30:07 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.1ms) 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/quotations/_line_fields.html.slim (10.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 (74.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (85.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (93.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 250ms (Views: 244.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:30:37 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:30:48 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mB53BBzDTsEbEiUX9gHYmn9lmHHFT0u7JkynPAXT/HzLP3Fc2zaRZfa6/2vNvwWv8+m0hoIjBRAM6ZBIiykSOw==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1447929034592"=>{"label"=>"oh", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00"}}, "payment_term_id"=>"4", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-19 10:30:48.887460"], ["id", 6]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 10:30:48.889189"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.3ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "quotation_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "oh"], ["quantity", 10.0], ["unit", "0,00"], ["unit_price", 10.0], ["vat_rate", 0.0], ["quotation_id", 6], ["total", 100.0], ["created_at", "2015-11-19 10:30:48.896215"], ["updated_at", "2015-11-19 10:30:48.896215"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 200.0], ["total_including_taxes", 220.0], ["updated_at", "2015-11-19 10:30:48.904609"], ["id", 6]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 38ms (ActiveRecord: 5.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 11:30:48 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (42.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (1.3ms) Completed 200 OK in 210ms (Views: 202.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:30:49 +0100 Started GET "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:30:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]] 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", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 6 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (302.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 457ms (Views: 451.9ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:30:59 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.5ms) 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/quotations/_line_fields.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.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 (63.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (70.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (77.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 242ms (Views: 237.7ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:32:07 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.8ms) 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/quotations/_line_fields.html.slim (6.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 (68.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (73.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (78.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 233ms (Views: 229.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:32:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:32:08 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:33:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.9ms) 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/quotations/_line_fields.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (72.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (76.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 206.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:33:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:33:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:33:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:33:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:33:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:33:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:33:33 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:35:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.9ms) 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/quotations/_line_fields.html.slim (5.2ms) 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/quotations/_line_fields.html.slim (5.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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (80.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (84.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 245ms (Views: 240.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:35:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:35:25 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:36:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.3ms) 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/quotations/_line_fields.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (78.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 229ms (Views: 223.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:36:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:37:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) 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 (1.4ms) 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 (7.5ms) 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 (103.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (112.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4602ms (Views: 4597.7ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:37:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:37:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:37:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:37:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:37:23 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:38:14 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.4ms) 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/quotations/_line_fields.html.slim (6.1ms) 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/quotations/_line_fields.html.slim (5.9ms) 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 (91.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (96.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (100.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 254ms (Views: 246.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:38:14 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:38:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (14.7ms) 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/quotations/_line_fields.html.slim (6.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 (70.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (74.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (78.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 228ms (Views: 223.1ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:38:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:38:17 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:39:23 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_line_fields.html.slim (6.7ms) 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/quotations/_line_fields.html.slim (5.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 (105.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (109.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (113.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4374ms (Views: 4276.2ms | ActiveRecord: 3.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:39:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:39:39 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:45:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (15.9ms) 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/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (5.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 (84.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (88.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (92.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4661ms (Views: 4656.8ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:45:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:45:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:45:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:45:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:45:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:45:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 11:46:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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 (5.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 (92.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (97.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 262ms (Views: 240.3ms | ActiveRecord: 2.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:46:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:46:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:24 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 11:46:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ykvvPumh8O1dcjwrQLc6QxMszQvCNx4Oun3a3QzRaYWZaulmLlQvSbDa5ld7Ced2n6Dh/IVbUKWQ2O2pgiuHwg==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"hey", "quantity"=>"1 000,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"oh``", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["vat_amount", 2000.0], ["total_including_taxes", 2200.0], ["updated_at", "2015-11-19 10:46:29.886841"], ["id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 1000.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 10000.0], ["updated_at", "2015-11-19 10:46:29.889700"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.7ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 10100.0], ["total_including_taxes", 12100.0], ["updated_at", "2015-11-19 10:46:29.899122"], ["id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "oh``"], ["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 10:46:29.903043"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (2.9ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 57ms (ActiveRecord: 7.4ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 11:46:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.4ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (16.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (55.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 237ms (Views: 224.0ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:46:30 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:46:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.1ms) 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/quotations/_line_fields.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.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 (65.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 233ms (Views: 228.3ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:46:41 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:46:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (12.4ms) 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/quotations/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (67.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (72.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (77.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 227ms (Views: 221.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:46:56 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:47:08 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (11.8ms) 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/quotations/_line_fields.html.slim (6.0ms) 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/quotations/_line_fields.html.slim (6.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 (77.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (82.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 311ms (Views: 305.2ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:47:09 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:47:27 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.5ms) 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/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (6.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 (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (74.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (80.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4484ms (Views: 4478.7ms | ActiveRecord: 1.5ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:47:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:47:32 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:47:41 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (8.4ms) 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/quotations/_line_fields.html.slim (6.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 (61.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (66.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4816ms (Views: 4811.4ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:47:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:47:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:47:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:47:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:47:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:47:47 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:48:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.8ms) 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/quotations/_line_fields.html.slim (6.3ms) 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/quotations/_line_fields.html.slim (6.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 (81.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (85.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (90.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 5078ms (Views: 5068.6ms | ActiveRecord: 1.5ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:48:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:48:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:48:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:48:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:48:06 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:48:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (7.6ms) 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/quotations/_line_fields.html.slim (5.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 (60.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (64.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 4723ms (Views: 4717.3ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:48:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:48:20 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:48:37 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_line_fields.html.slim (8.8ms) 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/quotations/_line_fields.html.slim (5.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 (65.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 5038ms (Views: 5033.5ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:48:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:48:43 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:48:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_line_fields.html.slim (6.6ms) 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/quotations/_line_fields.html.slim (7.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.8ms) 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 (62.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (66.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (70.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4374ms (Views: 4368.5ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:49:03 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:49:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.2ms) 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/quotations/_line_fields.html.slim (8.7ms) 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/quotations/_line_fields.html.slim (6.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 (61.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (66.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (70.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4159ms (Views: 4155.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:49:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:49:34 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:50:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (8.2ms) 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/quotations/_line_fields.html.slim (5.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (59.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (69.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4371ms (Views: 4365.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:50:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:50:07 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:50:36 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.6ms) 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/quotations/_line_fields.html.slim (5.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 (78.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (89.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 280.6ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:50:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:50:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:50:37 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:51:10 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (5.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 (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (75.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4447ms (Views: 4440.1ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:51:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:51:15 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:51:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.0ms) 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/quotations/_line_fields.html.slim (5.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (63.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4236ms (Views: 4230.9ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:51:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:51:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:51:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:51:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:51:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:51:31 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:51:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.7ms) 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/quotations/_line_fields.html.slim (7.8ms) 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/quotations/_line_fields.html.slim (5.2ms) 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 (60.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (65.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (71.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 5096ms (Views: 5091.4ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:51:57 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:53:42 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.7ms) 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/quotations/_line_fields.html.slim (8.5ms) 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/quotations/_line_fields.html.slim (6.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 (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (72.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (77.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4796ms (Views: 4791.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:53:47 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:55:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (13.4ms) 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/quotations/_line_fields.html.slim (6.9ms) 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/quotations/_line_fields.html.slim (5.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 (68.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (73.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (78.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 231.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:55:15 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:55:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (20.8ms) 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/quotations/_line_fields.html.slim (6.3ms) 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/quotations/_line_fields.html.slim (7.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 (95.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (100.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (104.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 273ms (Views: 267.0ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:55:26 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:55:34 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.3ms) 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/quotations/_line_fields.html.slim (9.5ms) 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/quotations/_line_fields.html.slim (6.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 (78.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (88.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 256ms (Views: 250.4ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:55:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:55:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:55:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:55:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:55:35 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:56:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.6ms) 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/quotations/_line_fields.html.slim (5.6ms) 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/quotations/_line_fields.html.slim (5.7ms) 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 (77.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (88.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 767ms (Views: 761.5ms | ActiveRecord: 1.6ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:56:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:56:46 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:58:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.5ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.7ms) 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/quotations/_line_fields.html.slim (6.2ms) 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/quotations/_line_fields.html.slim (6.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 (76.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (82.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (90.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 774ms (Views: 765.6ms | ActiveRecord: 2.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:58:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:13 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:58:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.4ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.7ms) 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/quotations/_line_fields.html.slim (6.4ms) 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/quotations/_line_fields.html.slim (5.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 (63.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (68.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (74.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 719ms (Views: 713.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:58:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:58:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:58:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:58:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:58:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:58:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:49 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:58:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.4ms) 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/quotations/_line_fields.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (60.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 723ms (Views: 717.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:58:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:58:56 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.4ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (11.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 (97.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (102.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (107.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 314ms (Views: 306.8ms | ActiveRecord: 2.0ms) Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:58:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:58:57 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:59:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.8ms) 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/quotations/_line_fields.html.slim (6.0ms) 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/quotations/_line_fields.html.slim (6.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 (57.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (63.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 683ms (Views: 677.0ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:59:16 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 11:59:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.4ms) 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/quotations/_line_fields.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (62.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (66.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (70.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4344ms (Views: 4337.7ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 11:59:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 11:59:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 11:59:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 11:59:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 11:59:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 11:59:35 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:00:36 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.2ms) 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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_line_fields.html.slim (6.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 (56.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (62.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (66.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4066ms (Views: 4060.7ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:00:41 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:00:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.6ms) 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/quotations/_line_fields.html.slim (5.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 (76.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (82.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4296ms (Views: 4289.7ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:00:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:00:58 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:01:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.9ms) 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/quotations/_line_fields.html.slim (6.6ms) 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/quotations/_line_fields.html.slim (5.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 (73.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (80.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (88.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 271ms (Views: 265.7ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:01:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:01:03 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 12:01:14 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jhWFT71YkjoBwe1e95U7KNF7dcC5ilm1EbHvWK8KSefdNIMXeq1NnuxpNyLMK+YdXfdZN/7mFx47FNgsIfCnoA==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"bonjour", "quantity"=>"1 000,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-19 11:01:14.231313"], ["id", 6]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "bonjour"], ["quantity", 1000.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:01:14.233248"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "hello"], ["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 11:01:14.241244"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 36ms (ActiveRecord: 3.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 12:01:14 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.0ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (19.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (52.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 218ms (Views: 211.9ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:01:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:01:15 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:01:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.5ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (107.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (114.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (120.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 764ms (Views: 751.2ms | ActiveRecord: 3.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:01:16 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:01:17 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.4ms) 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/quotations/_line_fields.html.slim (5.9ms) 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 (73.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (78.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (83.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 249ms (Views: 243.2ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:01:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:01:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:01:18 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:02:07 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.8ms) 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/quotations/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (71.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (75.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (80.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4625ms (Views: 4620.6ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:02:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:02:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:02:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:02:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:02:17 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:03:48 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.6ms) 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/quotations/_line_fields.html.slim (5.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.6ms) 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 (62.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (67.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (71.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4074ms (Views: 4069.7ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:03:53 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:04:03 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.5ms) 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/quotations/_line_fields.html.slim (6.9ms) 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/quotations/_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 (65.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4269ms (Views: 4262.7ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:04:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:04:08 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:04:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} Dorsale::CustomerVault::Individual Load (0.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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.2ms) 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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_line_fields.html.slim (5.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 (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (76.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (82.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4594ms (Views: 4587.3ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:04:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:04:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:04:21 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 12:04:34 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kdm9gqO6cRF+RuJ4eNumzQ1bQFqIlpSydpByBStQTpd6+LvaZE+utZPuOARDZXv4gddsrc/62hlcNUVxpaqg0A==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"bonjour", "quantity"=>"1 000,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want\r\nsdf fsdfsdf", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotations" SET "comments" = ?, "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["comments", "This is the quotation for the software your companie want\r\nsdf fsdfsdf"], ["commercial_discount", 0.0], ["updated_at", "2015-11-19 11:04:34.199167"], ["id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 1000.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:04:34.200877"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 11:04:34.212447"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (3.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 48ms (ActiveRecord: 7.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 12:04:34 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.6ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (14.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 204ms (Views: 198.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:04:34 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:04:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (8.1ms) 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/quotations/_line_fields.html.slim (7.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 (63.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (67.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (72.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 208.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:04:40 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:05:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (5.6ms) 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/quotations/_line_fields.html.slim (7.9ms) 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/quotations/_line_fields.html.slim (6.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 (65.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (74.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 219ms (Views: 213.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:05:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:05:26 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:05:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.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 (78.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 243ms (Views: 237.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:05:43 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:05:52 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:06:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.2ms) 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/quotations/_line_fields.html.slim (5.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 (66.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (71.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (76.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4153ms (Views: 4147.7ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:06:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:06:58 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:07:10 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (7.1ms) 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/quotations/_line_fields.html.slim (5.1ms) 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/quotations/_line_fields.html.slim (5.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 (64.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4471ms (Views: 4466.0ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:07:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:07:15 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 12:07:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zuKz4KkRwQdHsrbF+gRSe3AIPAZhicSWIC9WTa4iCRqdw7W4buQeo6oabLnBuo9O/IQQ8Sblij0KimE5INjnXQ==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"bonjour\r\ncoucou", "quantity"=>"1 000,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want\r\nsdf fsdfsdf", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} Dorsale::CustomerVault::Individual Load (0.5ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-19 11:07:30.034794"], ["id", 6]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "bonjour\r\ncoucou"], ["quantity", 1000.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:07:30.036544"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 11:07:30.043924"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 34ms (ActiveRecord: 4.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 12:07:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (15.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (44.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 212ms (Views: 206.1ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:07:30 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:07:32 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.1ms) 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/quotations/_line_fields.html.slim (6.9ms) 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/quotations/_line_fields.html.slim (5.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 (64.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (72.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 200.0ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:07:33 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:08:01 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.0ms) 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/quotations/_line_fields.html.slim (7.6ms) 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/quotations/_line_fields.html.slim (7.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 (60.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (64.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (69.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4455ms (Views: 4450.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:08:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:08:06 +0100 Started GET "/dorsale/billing_machine/quotations/6/edit" for ::1 at 2015-11-19 12:08:34 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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/quotations/_line_fields.html.slim (6.4ms) 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/quotations/_line_fields.html.slim (6.1ms) 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/quotations/_line_fields.html.slim (8.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 (77.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (81.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (87.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4335ms (Views: 4329.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:08:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:08:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:08:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:08:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:08:39 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 12:09:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GW7soUxfH7XkUjwKS//JqAQ08QtYku1z3WB0oFkhcwVKT+r5i6rAEQn65nZwQRSdiLjd/B/+o9j3xUPU19udQg==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"bonjour\r\ncoucou\r\nhello", "quantity"=>"1 000,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want\r\nsdf fsdfsdf", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-19 11:09:02.691166"], ["id", 6]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "bonjour\r\ncoucou\r\nhello"], ["quantity", 1000.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:09:02.692709"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 11:09:02.698688"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (1.3ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 33ms (ActiveRecord: 4.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 12:09:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (18.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (50.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.8ms) Completed 200 OK in 205ms (Views: 199.3ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:09:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:09:03 +0100 Started PATCH "/dorsale/billing_machine/quotations/6" for ::1 at 2015-11-19 12:10:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GW7soUxfH7XkUjwKS//JqAQ08QtYku1z3WB0oFkhcwVKT+r5i6rAEQn65nZwQRSdiLjd/B/+o9j3xUPU19udQg==", "quotation"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"label"=>"bonjour\r\ncoucou\r\nhello", "quantity"=>"100,00", "unit"=>"0,00", "vat_rate"=>"5,50", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"0,00", "unit_price"=>"10,00", "id"=>"2"}}, "payment_term_id"=>"4", "state"=>"pending", "comments"=>"This is the quotation for the software your companie want\r\nsdf fsdfsdf", "commercial_discount"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/6/edit", "id"=>"6"} 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction 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", 4]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["vat_amount", 55.0], ["total_including_taxes", 10155.0], ["updated_at", "2015-11-19 11:10:40.073150"], ["id", 6]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 100.0], ["unit_price", 10.0], ["vat_rate", 5.5], ["total", 1000.0], ["updated_at", "2015-11-19 11:10:40.075009"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 1100.0], ["total_including_taxes", 1155.0], ["updated_at", "2015-11-19 11:10:40.081155"], ["id", 6]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 0.0], ["updated_at", "2015-11-19 11:10:40.083302"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 6]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 6]]  (1.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 37ms (ActiveRecord: 3.7ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-19 12:10:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."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", 3]] 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", 2]] 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (12.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.7ms) Completed 200 OK in 200ms (Views: 194.1ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:10:40 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:22:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (0.9ms) 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.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 (59.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 199.4ms | ActiveRecord: 1.3ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:22:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:22:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:23:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.4ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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.9ms) 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.7ms) 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 (72.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 217.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:23:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:23:03 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:23:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.2ms) 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 (4.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.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 (84.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.1ms) Completed 200 OK in 245ms (Views: 239.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:23:58 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:24:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.6ms) 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 (2.1ms) 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 (10.3ms) 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 (75.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (79.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 243ms (Views: 238.5ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:25:00 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:25:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) 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 (2.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 (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4316ms (Views: 4310.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:25:36 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:26:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (2.1ms) 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.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 (64.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4092ms (Views: 4087.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:26:13 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:26:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:26:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:26:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:26:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:26:14 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:26:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) 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 (61.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4271ms (Views: 4264.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:26:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:26:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:26:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:26:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:26:32 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:27:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.9ms) 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 (2.0ms) 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.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 (74.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (80.8ms) Completed 500 Internal Server Error in 1830ms (ActiveRecord: 1.3ms) ActionView::Template::Error (Illegal nesting: Only properties may be nested beneath properties.): 4: meta charset="utf-8" 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: app/assets/stylesheets/application.sass:5 app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__295825285619987929_70135120070360' 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 (15.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.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.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 (92.4ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:27:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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.3ms) 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 (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 (66.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (70.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4624ms (Views: 4618.7ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:27:17 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:27:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.7ms) 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 (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.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 (80.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 5165ms (Views: 5159.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:27:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:27:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:27:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:28:05 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:28:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) 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 (54.3ms) 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 3999ms (Views: 3995.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:28:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:28:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:28:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:28:30 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:31:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.2ms) 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.3ms) 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 (10.6ms) 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 (85.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 272ms (Views: 266.3ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:31:12 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:31:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (14.5ms) 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.4ms) 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 (8.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 (90.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (96.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 278ms (Views: 271.2ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:31:40 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:31:55 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:32:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.3ms) 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) 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 (6.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 (82.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (88.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 299ms (Views: 291.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:32:07 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:32:11 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:32:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.4ms) 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.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 (80.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (84.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 245ms (Views: 240.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:32:52 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:34:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (3.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 (65.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 779ms (Views: 774.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:10 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:34:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (1.1ms) 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) 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 (61.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 757ms (Views: 752.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:17 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-19 12:34:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zAMApuKM+upcN30GUo98TLmGasQAJ2FDsJOPSChbXm2fIgb+JXklTrGfp3ppMaF5NQpGM0dLL+iaNrg8pqGwKg==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"hey", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"_destroy"=>"1", "label"=>"azeazeaze", "quantity"=>"0,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"0,00", "id"=>"2"}, "2"=>{"_destroy"=>"false", "label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"500,00", "id"=>"3"}, "3"=>{"_destroy"=>"false", "label"=>"coucou", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"400,00", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10,00", "advance"=>"15,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit#", "id"=>"2"} 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", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 2, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 10.0], ["advance", 15.0], ["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-19 11:34:20.500805"], ["id", 2]] SQL (0.1ms) DELETE FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["id", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit", "0,00"], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:34:20.504011"], ["id", 1]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-19 11:34:20.511507"], ["id", 2]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit", "0,00"], ["unit_price", 500.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:34:20.513833"], ["id", 3]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-19 11:34:20.520847"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit", "0,00"], ["unit_price", 400.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:34:20.522610"], ["id", 4]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-19 11:34:20.529622"], ["id", 2]]  (2.4ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 59ms (ActiveRecord: 6.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 12:34:20 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (3.1ms) 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/_data_context.html.slim (4.2ms) 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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 234ms (Views: 224.7ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:20 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:21 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:34:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::IdCard Load (0.8ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::InvoiceLine Load (0.9ms) 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (4.9ms) 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 (3.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (115.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (123.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 423ms (Views: 409.0ms | ActiveRecord: 4.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:23 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:23 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:23 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:23 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:34:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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 (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (61.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 205.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:24 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:34:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (2.0ms) 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 (1.3ms) 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 (59.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 681ms (Views: 675.6ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:34:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:34:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:34:52 +0100 Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2015-11-19 12:35:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/HnaDSQbT3wJ4d8BhhN/xWbj8Vey3KwdhblUksbwWdGvWNxV4+6Q2ORJBX29raLw6m/doPWw4ravHGPmSAq3lg==", "invoice"=>{"id_card_id"=>"4", "label"=>"Software service", "date"=>"23/10/2015", "customer_guid"=>"Dorsale::CustomerVault::Corporation-4", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"hey", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"10,00", "id"=>"1"}, "1"=>{"_destroy"=>"false", "label"=>"hello", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"500,00", "id"=>"3"}, "2"=>{"_destroy"=>"1", "label"=>"coucou", "quantity"=>"10,00", "unit"=>"0,00", "vat_rate"=>"20,00", "unit_price"=>"400,00", "id"=>"4"}}, "payment_term_id"=>"4", "due_date"=>"22/11/2015", "paid"=>"false", "commercial_discount"=>"10,00", "advance"=>"15,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit#", "id"=>"2"} 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", 2]]  (0.1ms) begin transaction 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", 4]] 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" IN (1, 3, 4) ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 10.0], ["advance", 15.0], ["vat_amount", 1818.0], ["total_including_taxes", 10908.0], ["balance", 10893.0], ["updated_at", "2015-11-19 11:35:13.614465"], ["id", 2]] SQL (0.1ms) DELETE FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["id", 4]] SQL (0.5ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:35:13.618013"], ["id", 1]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 5090.0], ["vat_amount", 1018.0], ["total_including_taxes", 6108.0], ["balance", 6093.0], ["updated_at", "2015-11-19 11:35:13.627560"], ["id", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit_price", 500.0], ["vat_rate", 20.0], ["updated_at", "2015-11-19 11:35:13.629665"], ["id", 3]] 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", 2]] 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", 4]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 2]] 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", 2]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["vat_amount", 1018.0], ["total_including_taxes", 6108.0], ["balance", 6093.0], ["updated_at", "2015-11-19 11:35:13.637131"], ["id", 2]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 48ms (ActiveRecord: 6.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-19 12:35:13 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.8ms) 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/_data_context.html.slim (2.9ms) 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 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", 4]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 210ms (Views: 205.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:35:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:35:14 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:35:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (50.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 212ms (Views: 207.0ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:35:16 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:35:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.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 (50.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4400ms (Views: 4395.4ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:35:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:35:44 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:37:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (1.5ms) 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 (74.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (81.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4441ms (Views: 4435.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:37:09 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:37:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (45.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (50.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4249ms (Views: 4244.9ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:37:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:37:26 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:37:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) 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.2ms) 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 (62.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (67.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 205.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:37:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:37:54 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:38:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (54.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (59.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 195.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:38:06 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:38:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.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 (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (53.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4332ms (Views: 4327.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:38:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:38:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:38:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:38:28 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 12:39:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.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 (54.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.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 247ms (Views: 240.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 12:39:20 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 13:37:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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) 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 (73.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (79.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 323ms (Views: 227.2ms | ActiveRecord: 4.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 13:37:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 13:37:19 +0100 Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2015-11-19 13:37:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} 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", 2]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] CACHE (0.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 LIMIT 1 [["invoice_id", 2]] 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", 2]] 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 (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.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 (56.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (61.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 231ms (Views: 225.0ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-19 13:37:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-19 13:37:45 +0100 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddSender (20151120122613)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "dorsale_alexandrie_attachment" ADD "sender_id" integer SQLite3::SQLException: no such table: dorsale_alexandrie_attachment: ALTER TABLE "dorsale_alexandrie_attachment" ADD "sender_id" integer  (0.1ms) rollback transaction  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20141010140200)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141010140200"]]  (0.9ms) commit transaction Migrating to AddPolymorphicFieldsToAddresses (20141014072756)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "dorsale_addresses" ADD "addressable_id" integer  (0.2ms) ALTER TABLE "dorsale_addresses" ADD "addressable_type" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141014072756"]]  (0.8ms) commit transaction Migrating to CreateDorsaleComments (20150312083147)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312083147"]]  (0.9ms) commit transaction Migrating to CreateDorsaleAlexandrieAttachments (20150616074852)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616074852"]]  (0.9ms) commit transaction Migrating to CreateDorsaleDummyModels (20150616082916)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616082916"]]  (0.8ms) commit transaction Migrating to CreateFlyboy (20150622075000)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.2ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075000"]]  (1.2ms) commit transaction Migrating to CreateBillingMachine (20150622075038)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622075038"]]  (1.3ms) commit transaction Migrating to CreateCustomerVault (20150622105217)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150622105217"]]  (1.0ms) commit transaction Migrating to DorsaleV2Changes (20150623093218)  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150623093218"]]  (1.1ms) commit transaction Migrating to ActsAsTaggableOnMigration (20150624081204)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.3ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.4ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081204"]]  (1.2ms) commit transaction Migrating to AddMissingUniqueIndices (20150624081205)  (0.2ms) begin transaction  (0.5ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'  (0.6ms) DROP INDEX "index_taggings_on_tag_id"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.2ms) DROP INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context"  (0.2ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081205"]]  (1.0ms) commit transaction Migrating to AddTaggingsCounterCacheToTags (20150624081206)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "tags" ADD "taggings_count" integer DEFAULT 0 ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."id" ASC LIMIT 1000 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081206"]]  (0.9ms) commit transaction Migrating to AddMissingTaggableIndex (20150624081207)  (0.1ms) begin transaction  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.4ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081207"]]  (1.0ms) commit transaction Migrating to ChangeCollationForTagNames (20150624081208)  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150624081208"]]  (0.9ms) commit transaction Migrating to BillingMachineQuotationsAddExpiresAt (20150625093326)  (0.2ms) begin transaction  (0.7ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "expires_at" date SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625093326"]]  (1.0ms) commit transaction Migrating to BillingMachineAddTrackingIds (20150625131155)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "tracking_id" varchar  (0.3ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "tracking_id" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150625131155"]]  (1.0ms) commit transaction Migrating to AddOwnersToTasks (20150803152643)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_type" varchar  (0.2ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803152643"]]  (0.9ms) commit transaction Migrating to DeviseCreateUsers (20150803160334)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803160334"]]  (1.2ms) commit transaction Migrating to AddAuthorToComments (20150805133509)  (0.2ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_type" varchar  (0.3ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805133509"]]  (1.2ms) commit transaction Migrating to AddPolymorphicUsersToComments (20150805134318)  (0.1ms) begin transaction  (0.7ms) CREATE TEMPORARY TABLE "adorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "dorsale_comments"  (0.6ms) DROP TABLE "dorsale_comments"  (0.6ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "adorsale_comments"  (0.5ms) DROP TABLE "adorsale_comments"  (0.3ms) ALTER TABLE "dorsale_comments" ADD "author_type" varchar SQL (0.2ms) UPDATE "dorsale_comments" SET "author_type" = 'User' WHERE "dorsale_comments"."id" IN (SELECT "dorsale_comments"."id" FROM "dorsale_comments" WHERE (author_id is not null) ORDER BY "dorsale_comments"."created_at" DESC) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805134318"]]  (1.3ms) commit transaction Migrating to AddCommercialDiscountToInvoicesAndQuotations (20151012181412)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "commercial_discount" decimal  (0.2ms) ALTER TABLE "dorsale_billing_machine_invoices" ADD "commercial_discount" decimal SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012181412"]]  (1.0ms) commit transaction Migrating to CustomerVaultIndividualsAddSkype (20151019100134)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_customer_vault_individuals" ADD "skype" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151019100134"]]  (2.3ms) commit transaction Migrating to DorsaleBillingMachineQuotationsAddState (20151023135421)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_billing_machine_quotations" ADD "state" varchar SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "state" = 'pending' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151023135421"]]  (1.0ms) commit transaction Migrating to AddIsActiveToUsers (20151103110115)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "is_active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151103110115"]]  (1.1ms) commit transaction Migrating to DorsaleAlexandrieAttachmentsAddSender (20151120122613)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "dorsale_alexandrie_attachment" ADD "sender_id" integer SQLite3::SQLException: no such table: dorsale_alexandrie_attachment: ALTER TABLE "dorsale_alexandrie_attachment" ADD "sender_id" integer  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddSender (20151120122613)  (0.2ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "sender_id" integer  (0.2ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "sender_type" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151120122613"]]  (3.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/" for ::1 at 2015-11-20 13:39:48 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.6ms) Completed 200 OK in 877ms (Views: 862.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:39:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:39:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:39:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:39:50 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-20 13:39:54 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (888.8ms) 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/_data_context.html.slim (18.6ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (961.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1121ms (Views: 1105.7ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:39:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (6.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (9.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (55.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 207ms (Views: 199.9ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-11-20 13:39:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#new 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::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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/quotations/_line_fields.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (172.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (182.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.6ms) Completed 200 OK in 406ms (Views: 350.2ms | ActiveRecord: 1.6ms) Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"I9W2EnGiubL1mZQCJe+EtgW5EXsIRKlG5KbEHgIhuxpx+ny5rHgdUEeD6i4RUcPxLIc7z4Xtyfjns6Wd2fo+8g==", "quotation"=>{"label"=>"abc", "state"=>"pending", "date"=>"20/11/2015", "expires_at"=>"20/12/2015", "payment_term_id"=>"", "customer_guid"=>"", "vat_rate"=>"20", "commercial_discount"=>"0", "id_card_id"=>"", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"", "quantity"=>"", "unit"=>"", "unit_price"=>"", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/new"} 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"  (0.1ms) begin transaction  (0.1ms) rollback transaction 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/quotations/_line_fields.html.slim (15.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (12.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (74.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (82.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 269ms (Views: 252.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:03 +0100  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-11-20 12:40:38.260269"], ["updated_at", "2015-11-20 12:40:38.260269"]]  (3.1ms) commit transaction Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"I9W2EnGiubL1mZQCJe+EtgW5EXsIRKlG5KbEHgIhuxpx+ny5rHgdUEeD6i4RUcPxLIc7z4Xtyfjns6Wd2fo+8g==", "quotation"=>{"label"=>"abc", "state"=>"pending", "date"=>"20/11/2015", "expires_at"=>"20/12/2015", "payment_term_id"=>"", "customer_guid"=>"", "vat_rate"=>"20", "commercial_discount"=>"0", "id_card_id"=>"", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"", "quantity"=>"", "unit"=>"", "unit_price"=>"", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/new"} 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"  (0.1ms) begin transaction  (0.1ms) rollback transaction Dorsale::BillingMachine::PaymentTerm Load (0.1ms) 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/quotations/_line_fields.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (71.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (75.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 319ms (Views: 305.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:44 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:45 +0100 Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L0FlzB35G90x2O+0uy4ANx1rOlj+8ZALF6GpVSSiyPp9bq9nwCO/P4PCkZiPkEdwNFUQ7HNY8LUUtMjW/3lNEg==", "quotation"=>{"label"=>"abc", "state"=>"pending", "date"=>"20/11/2015", "expires_at"=>"20/12/2015", "payment_term_id"=>"", "customer_guid"=>"", "vat_rate"=>"20", "commercial_discount"=>"0", "id_card_id"=>"", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"", "quantity"=>"", "unit"=>"", "unit_price"=>"", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations"} 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"  (0.1ms) begin transaction  (0.1ms) rollback transaction 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/quotations/_line_fields.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (51.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 214ms (Views: 204.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:48 +0100 Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:50 +0100 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m9JywtXPUkKQzbwHydqQb3kBbnsGP1dqpLm8SARTd3jJ/bhpCBX2oCLXwiv9ZNcoUD9Ez4uWN9SnrN3L34jykA==", "quotation"=>{"label"=>"abc", "state"=>"pending", "date"=>"20/11/2015", "expires_at"=>"20/12/2015", "payment_term_id"=>"", "customer_guid"=>"", "vat_rate"=>"20", "commercial_discount"=>"0", "id_card_id"=>"", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"", "quantity"=>"", "unit"=>"", "unit_price"=>"", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations"} 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"  (0.1ms) begin transaction  (0.1ms) rollback transaction 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/quotations/_line_fields.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 194.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:51 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:52 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.7ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (32.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 206ms (Views: 200.5ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:53 +0100 Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-11-20 13:40:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#new 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::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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/quotations/_line_fields.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 228.1ms | ActiveRecord: 0.9ms) Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5F97nGT2v72R3uuubfZeYUoe9GonUCBVDg+4o/g9f8W2cLE3uSwbXyPElYJZSBkmYyDe3qr5QOsNGtkgI+b6LQ==", "quotation"=>{"label"=>"abcdef", "state"=>"pending", "date"=>"20/11/2015", "expires_at"=>"20/12/2015", "payment_term_id"=>"", "customer_guid"=>"", "vat_rate"=>"20", "commercial_discount"=>"0", "id_card_id"=>"1", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"", "quantity"=>"", "unit"=>"", "unit_price"=>"", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_quotations" ("label", "state", "id_card_id", "date", "expires_at", "comments", "vat_rate", "commercial_discount", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "abcdef"], ["state", "pending"], ["id_card_id", 1], ["date", "2015-11-20"], ["expires_at", "2015-12-20"], ["comments", ""], ["vat_rate", 20.0], ["commercial_discount", 0.0], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-11-20 12:40:58.005677"], ["updated_at", "2015-11-20 12:40:58.005677"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "unit", "quotation_id", "quantity", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["unit", ""], ["quotation_id", 1], ["quantity", 0.0], ["unit_price", 0.0], ["total", 0.0], ["created_at", "2015-11-20 12:40:58.009634"], ["updated_at", "2015-11-20 12:40:58.009634"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (1.3ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 35ms (ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:40:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (31.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.1ms) Completed 200 OK in 186ms (Views: 181.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:40:58 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:40:59 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (13.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (33.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (59.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 211ms (Views: 205.6ms | ActiveRecord: 1.2ms) Started POST "/dorsale/alexandrie/attachments" for ::1 at 2015-11-20 13:41:05 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"da21tfnTH8H4F7khfjlGcUyus/T4q6qEy21SCaQ9sC0ngn8eJAm7I0oNxw1KhwE2ZZCZQHUCyjrIeDOKf+Y1xQ==", "attachment"=>{"attachable_id"=>"1", "attachable_type"=>"Dorsale::BillingMachine::Quotation", "file"=>#, @original_filename="18956018963-472016874-billet.pdf", @content_type="application/pdf", @headers="Content-Disposition: form-data; name=\"attachment[file]\"; filename=\"18956018963-472016874-billet.pdf\"\r\nContent-Type: application/pdf\r\n">}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1"}  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:41:05 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (27.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 199ms (Views: 194.9ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:41:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:41:05 +0100  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'benoit.martin-chave@agilidee.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "benoit.martin-chave@agilidee.com"], ["encrypted_password", "$2a$10$8cavCJc1MUdxcW0e4sHQuO2TG/EoqiDEkyftYkYNI4wA/uS7BdD9S"], ["created_at", "2015-11-20 12:42:04.405116"], ["updated_at", "2015-11-20 12:42:04.405116"]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 32b1a781-6202-4099-8cda-5074dc780f0d) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "motdepasse" [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "motdepasse" [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (14.4ms) [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Dorsale::UserMailer#new_account: processed outbound mail in 224.2ms [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Sent mail to benoit.martin-chave@agilidee.com (18.0ms) [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Date: Fri, 20 Nov 2015 13:42:05 +0100 From: contact@example.org To: benoit.martin-chave@agilidee.com Message-ID: <564f151d81186_20703fd3d205e20037876@tiramisu.local.mail> Subject: Nouveau compte Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Nouveau compte cr=C3=A9=C3=A9

F=C3=A9licitation pour la cr=C3=A9ation de votre compte.

Votre login est: benoit.martin-chave@agilidee.com

Votre mot de passe est: motdepasse

= [ActiveJob] [ActionMailer::DeliveryJob] [32b1a781-6202-4099-8cda-5074dc780f0d] Performed ActionMailer::DeliveryJob from Inline(mailers) in 1068.81ms  (0.9ms) commit transaction Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:42:11 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (28.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 185ms (Views: 181.3ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:42:12 +0100 Started GET "/users/sign_in" for ::1 at 2015-11-20 13:42:13 +0100 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (27.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 198.7ms | ActiveRecord: 0.3ms) Started POST "/users/sign_in" for ::1 at 2015-11-20 13:42:19 +0100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0hsBiPUkjbRwesX2tfGM3HLCueeJoaj42ze/V/CvUCiANMsjKP4pVsJgu9qBT8ubW/yTUwQIyEbYIt7UK3TVwA==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "benoit.martin-chave@agilidee.com"]]  (0.1ms) begin transaction SQL (0.6ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-11-20 12:42:20.003386"], ["current_sign_in_at", "2015-11-20 12:42:20.003386"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2015-11-20 12:42:20.004640"], ["id", 1]]  (0.7ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 132ms (ActiveRecord: 1.7ms) Started GET "/" for ::1 at 2015-11-20 13:42:20 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 205ms (Views: 204.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:42:20 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-20 13:43:05 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.7ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (33.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 182ms (Views: 176.8ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:43:06 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (27.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 222ms (Views: 216.8ms | ActiveRecord: 0.9ms) Started POST "/dorsale/alexandrie/attachments" for ::1 at 2015-11-20 13:44:04 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NGlBeF/cpIyOJ25Qp6rt126Fq9RaIUS98qdbyoi5tGdng6BkNff0Bfb0F4LuXc8Utnr5mDFOaLt4F7PbKiUD7Q==", "attachment"=>{"attachable_id"=>"1", "attachable_type"=>"Dorsale::BillingMachine::Quotation", "file"=>#, @original_filename="18956018963-472016874-billet.pdf", @content_type="application/pdf", @headers="Content-Disposition: form-data; name=\"attachment[file]\"; filename=\"18956018963-472016874-billet.pdf\"\r\nContent-Type: application/pdf\r\n">}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "dorsale_alexandrie_attachments" ("attachable_id", "attachable_type", "file", "sender_id", "sender_type") VALUES (?, ?, ?, ?, ?) [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"], ["file", "18956018963-472016874-billet.pdf"], ["sender_id", 1], ["sender_type", "User"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 112ms (ActiveRecord: 3.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:44:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (42.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 223ms (Views: 204.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:44:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:44:05 +0100 Started DELETE "/users/sign_out" for ::1 at 2015-11-20 13:44:54 +0100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"iLuUmlyqb8cwWI3NNdf5JaeBgQEr8H0fefASd9EEfprbUXWGNoE/TkiL9B98INvmf37TTUCfURnzQPpmc5jJEA=="} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET "/" for ::1 at 2015-11-20 13:44:54 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 123ms (Views: 122.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:44:55 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:44:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (28.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 192ms (Views: 187.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:44:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:44:58 +0100 Started POST "/dorsale/alexandrie/attachments" for ::1 at 2015-11-20 13:45:02 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"z9TlfQe6vKrpKA8/l3P3CzxuDOUY66/iS3BTvZkXwc5tq1+OVxH76TLUDbEVLQ9A3jw0bworLmEsU+ZDS9cztg==", "attachment"=>{"attachable_id"=>"1", "attachable_type"=>"Dorsale::BillingMachine::Quotation", "file"=>#, @original_filename="buyco.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"attachment[file]\"; filename=\"buyco.txt\"\r\nContent-Type: text/plain\r\n">}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1"}  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-20 13:45:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (28.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 181ms (Views: 177.0ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-20 13:45:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-20 13:45:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-20 13:47:19 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddTaxesRateToQuotationAndInvoiceLines (20151116143024)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.4ms) SELECT * FROM "dorsale_billing_machine_invoices"  (3.1ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.7ms) DROP TABLE "adorsale_billing_machine_invoices"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_invoices"  (0.6ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.2ms) DROP TABLE "adorsale_billing_machine_invoices"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.4ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.4ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, 20, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (1.8ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.3ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.2ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_all_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, 20, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (0.3ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, 20, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (0.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, 20, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (0.2ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.3ms) ALTER TABLE "dorsale_billing_machine_quotation_lines" ADD "vat_rate" decimal  (0.3ms) ALTER TABLE "dorsale_billing_machine_invoice_lines" ADD "vat_rate" decimal Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" Dorsale::BillingMachine::QuotationLine Load (1.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["vat_rate", 20.0], ["updated_at", "2015-11-23 11:58:02.659973"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.7ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_payment_term_id" ON "adorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_id_card_id" ON "adorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_type" ON "adorsale_billing_machine_quotations" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_quotations_on_customer_id" ON "adorsale_billing_machine_quotations" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "adorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","vat_rate","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, 20, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (0.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.3ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_quotations"  (0.1ms) INSERT INTO "dorsale_billing_machine_quotations" ("id","customer_id","customer_type","id_card_id","payment_term_id","date","label","total_excluding_taxes","vat_amount","total_including_taxes","unique_index","comments","created_at","updated_at","expires_at","tracking_id","commercial_discount","state") VALUES (1, NULL, NULL, 1, NULL, '2015-11-20', 'abcdef', 0, 0, 0, 1, '', '2015-11-20 12:40:58.005677', '2015-11-20 12:40:58.005677', '2015-12-20', '2015-01', 0, 'pending')  (0.2ms) DROP TABLE "adorsale_billing_machine_quotations"  (0.2ms) CREATE TEMPORARY TABLE "adorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_payment_term_id" ON "adorsale_billing_machine_invoices" ("payment_term_id")  (0.2ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_id_card_id" ON "adorsale_billing_machine_invoices" ("id_card_id")  (0.3ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_type" ON "adorsale_billing_machine_invoices" ("customer_type")  (0.1ms) CREATE INDEX "tindex_adorsale_billing_machine_invoices_on_customer_id" ON "adorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT * FROM "dorsale_billing_machine_invoices"  (0.2ms) DROP TABLE "dorsale_billing_machine_invoices"  (0.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_adorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.1ms) SELECT * FROM "adorsale_billing_machine_invoices"  (0.2ms) DROP TABLE "adorsale_billing_machine_invoices" SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116143024"]]  (2.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/" for ::1 at 2015-11-23 12:58:40 +0100 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (15.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.9ms) Completed 200 OK in 7313ms (Views: 7301.7ms | ActiveRecord: 0.0ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 12:58:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 12:58:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 12:58:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 12:58:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 12:58:48 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 12:59:35 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (862.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (16.3ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (26.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (945.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 1221ms (Views: 1187.3ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 12:59:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (86.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (106.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (167.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (179.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 316ms (Views: 300.5ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:00:36 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (52.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (60.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4552ms (Views: 4548.2ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:00:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:00:41 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:00:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (11.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (24.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (75.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (87.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 276ms (Views: 271.3ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:00:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:00:50 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:02:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (60.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 208.9ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:02:25 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:02:27 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (19.5ms) 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/quotations/_line_fields.html.slim (10.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 (110.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (121.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (130.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.6ms) Completed 200 OK in 330ms (Views: 323.6ms | ActiveRecord: 1.9ms) Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:02:33 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XSzpml1Cs0JNA38QCTl9AnmInx2srWIjmgt+fDZnbaP/U1NpDen0AZb/fZ6LZ4VJm9qnl75t46D9KMuC5Kef2w==", "quotation"=>{"id_card_id"=>"1", "label"=>"abcdef", "date"=>"", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00", "id"=>"1"}}, "payment_term_id"=>"", "state"=>"pending", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/edit", "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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction 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_fields.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (14.0ms) 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/quotations/_line_fields.html.slim (7.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 (66.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (73.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (81.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 300ms (Views: 284.4ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:02:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:02:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:02:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:02:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:02:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:02:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:02:34 +0100 Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:02:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SZ6LK8fDUxcPo45UG7/sEXjFAUNJJuYWg5u6INTf4T3r4THYl2gUVNRfjNqZ4RRampc5yVvmZ5XkuA/eBh8TRQ==", "quotation"=>{"id_card_id"=>"1", "label"=>"abcdef", "date"=>"20/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00", "id"=>"1"}}, "payment_term_id"=>"", "state"=>"pending", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1", "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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["updated_at", "2015-11-23 12:02:40.983230"], ["id", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 0.0], ["unit_price", 0.0], ["updated_at", "2015-11-23 12:02:40.985844"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 28ms (ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 13:02:41 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.0ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (32.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 199ms (Views: 194.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:02:41 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:02:43 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 190ms (Views: 185.5ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:03:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (8.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (46.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (58.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 216ms (Views: 211.9ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:04:20 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.0ms) 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/quotations/_line_fields.html.slim (6.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 (42.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (51.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 208.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:04:21 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:04:22 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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 (1.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.6ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.6ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (8.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (3.3ms) Dorsale::Alexandrie::Attachment Load (0.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (22.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (101.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (114.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 393ms (Views: 372.3ms | ActiveRecord: 4.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:04:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 207ms (Views: 203.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:04:24 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:04:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (36.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (42.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 195.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:04:25 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 13:04:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (54.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (61.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 224ms (Views: 220.2ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:04:46 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:04:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (7.3ms) 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/quotations/_line_fields.html.slim (7.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 (45.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (58.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 214ms (Views: 208.7ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:05:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.8ms) 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/quotations/_line_fields.html.slim (5.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 (44.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (48.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4533ms (Views: 4529.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:05:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:05:54 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:06:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.4ms) 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/quotations/_line_fields.html.slim (8.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 (45.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (54.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4081ms (Views: 4077.7ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:06:08 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:06:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.0ms) 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/quotations/_line_fields.html.slim (8.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 (47.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (57.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4381ms (Views: 4377.1ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:06:20 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:06:33 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (9.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 (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (56.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4505ms (Views: 4501.3ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:06:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:06:38 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:06:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (39.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4379ms (Views: 4374.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:06:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:06:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:06:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:06:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:06:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:06:49 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:06:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.7ms) 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/quotations/_line_fields.html.slim (6.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 (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4113ms (Views: 4108.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:07:01 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:07:13 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.5ms) 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/quotations/_line_fields.html.slim (7.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 (48.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (55.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (63.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4015ms (Views: 4011.0ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:07:17 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:07:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) 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/quotations/_line_fields.html.slim (9.3ms) 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 (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (57.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4381ms (Views: 4376.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:07:54 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:08:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.4ms) 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 (38.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (47.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4064ms (Views: 4059.3ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:08:08 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:08:41 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (38.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3946ms (Views: 3941.6ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:08:45 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:10:43 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.1ms) 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/quotations/_line_fields.html.slim (6.4ms) 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 (40.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4131ms (Views: 4126.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:10:47 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:11:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) 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/quotations/_line_fields.html.slim (7.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 (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4254ms (Views: 4250.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:11:04 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:11:06 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (39.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 189ms (Views: 185.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:11:06 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:11:23 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.1ms) 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 (39.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4256ms (Views: 4252.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:11:27 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:12:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.6ms) 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/quotations/_line_fields.html.slim (8.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 (39.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4060ms (Views: 4056.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:12:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:12:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:12:05 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:12:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_line_fields.html.slim (6.6ms) 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 (45.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4260ms (Views: 4255.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:13:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:13:02 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:13:09 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.4ms) 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 (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (45.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4900ms (Views: 4896.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:13:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:13:15 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:13:15 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:13:15 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:13:22 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.0ms) 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 (39.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4599ms (Views: 4594.8ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:13:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:13:27 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:13:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_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 (55.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (62.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (67.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4258ms (Views: 4253.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:13:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:13:51 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:14:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) 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/quotations/_line_fields.html.slim (5.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 (39.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4101ms (Views: 4097.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:14:28 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:14:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (43.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.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 180ms (Views: 176.7ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:14:30 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:14:35 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.1ms) 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 (37.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (41.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (46.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4897ms (Views: 4893.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:14:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:14:41 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:14:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_line_fields.html.slim (6.9ms) 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 (41.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.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 5057ms (Views: 5052.5ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:14:58 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:15:20 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (36.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (40.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4085ms (Views: 4081.4ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:15:24 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:15:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.8ms) 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/quotations/_line_fields.html.slim (6.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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 200.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:15:50 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:16:17 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.9ms) 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 (41.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4210ms (Views: 4206.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:16:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:16:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:16:22 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:16:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (38.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (42.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (46.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 188ms (Views: 184.5ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:16:30 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:16:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.4ms) 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/quotations/_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 (46.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (55.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4729ms (Views: 4725.2ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:16:51 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:17:07 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_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 (44.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4332ms (Views: 4327.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:17:11 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:17:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (10.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 (77.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (85.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (105.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 424ms (Views: 415.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:17:19 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:17:38 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (38.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4107ms (Views: 4102.6ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:17:42 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:17:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.2ms) 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/quotations/_line_fields.html.slim (6.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 (41.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 239ms (Views: 234.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:17:51 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:19:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (15.0ms) 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/quotations/_line_fields.html.slim (6.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 (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (69.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4141ms (Views: 4137.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:19:04 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:19:12 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.4ms) 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 (39.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4555ms (Views: 4551.2ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:19:17 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:19:28 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (7.2ms) 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/quotations/_line_fields.html.slim (6.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 (108.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (112.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (116.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4538ms (Views: 4534.2ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:19:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:19:34 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:19:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.7ms) 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/quotations/_line_fields.html.slim (6.5ms) 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 (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (51.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 219ms (Views: 215.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:19:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:19:45 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:19:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (44.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (55.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 195.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:19:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:19:48 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:20:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (34.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (40.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (45.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 228ms (Views: 224.8ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:20:05 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:20:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_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 (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (54.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4223ms (Views: 4217.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:20:23 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:20:23 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:20:23 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:20:23 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:20:23 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:20:24 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:20:45 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_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 (46.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (55.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4072ms (Views: 4068.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:20:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:20:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:20:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:20:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:20:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:20:50 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:21:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4009ms (Views: 4005.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:21:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:21:31 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:21:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (42.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 313ms (Views: 309.1ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:21:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:21:40 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:22:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.8ms) 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/quotations/_line_fields.html.slim (5.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 (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (45.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.4ms) WARNING on line 76 of /Users/benoit/www/agilidee/dorsale/app/assets/stylesheets/dorsale/billing_machine/all.sass: This selector doesn't have any properties and will not be rendered. Completed 500 Internal Server Error in 1656ms (ActiveRecord: 0.9ms) ActionView::Template::Error (Invalid CSS after "#": expected id name, was ""): 4: meta charset="utf-8" 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: app/assets/stylesheets/application.sass:5 app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__1817063172138324526_70365363215300' 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 (39.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 (13.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 (2.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 (255.8ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:22:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.6ms) 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/quotations/_line_fields.html.slim (9.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 (52.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (61.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4209ms (Views: 4204.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:22:43 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:22:43 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:22:43 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:22:43 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:22:43 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:22:44 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:22:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] 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/quotations/_line_fields.html.slim (7.2ms) 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/quotations/_line_fields.html.slim (5.4ms) 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 (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3900ms (Views: 3896.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:22:59 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:23:37 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4116ms (Views: 4112.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:23:41 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:23:56 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (38.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (47.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4070ms (Views: 4066.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:24:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:24:01 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:24:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (38.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (42.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4040ms (Views: 4035.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:24:20 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:24:35 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (7.3ms) 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/quotations/_line_fields.html.slim (8.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 (49.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (53.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (58.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4524ms (Views: 4519.4ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:24:40 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:24:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.7ms) 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/quotations/_line_fields.html.slim (8.9ms) 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 (60.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (64.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (68.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4642ms (Views: 4637.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:24:56 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:25:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (52.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3694ms (Views: 3690.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:25:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:25:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:25:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:25:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:25:35 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:26:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4097ms (Views: 4092.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:26:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:26:51 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:27:03 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) 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/quotations/_line_fields.html.slim (5.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 (39.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 211.8ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:27:03 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:27:22 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (40.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (45.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4133ms (Views: 4129.2ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:27:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:27:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:27:27 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:28:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.2ms) 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/quotations/_line_fields.html.slim (7.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 (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (48.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (53.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4177ms (Views: 4173.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:28:08 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:28:28 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (41.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3934ms (Views: 3930.6ms | ActiveRecord: 0.9ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:28:32 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:28:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (52.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4428ms (Views: 4424.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:28:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:28:45 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:28:52 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (132.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (137.8ms) 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/quotations/_line_fields.html.slim (5.1ms) 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 (169.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (174.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (178.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3852ms (Views: 3847.3ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:28:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:28:57 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:29:09 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.1ms) 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/quotations/_line_fields.html.slim (5.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 (40.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 324ms (Views: 320.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:29:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:29:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:29:10 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:29:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (41.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (51.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4105ms (Views: 4101.0ms | ActiveRecord: 0.9ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:29:51 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:29:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_line_fields.html.slim (8.0ms) 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 (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (54.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4967ms (Views: 4963.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:30:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:30:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:30:01 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:30:23 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.9ms) 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 (37.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (42.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (47.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4685ms (Views: 4681.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:30:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:30:27 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:30:28 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:30:36 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (8.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 (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (55.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (60.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 5392ms (Views: 5388.2ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:30:42 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:30:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (38.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4690ms (Views: 4686.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:30:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:31:00 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:31:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) 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/quotations/_line_fields.html.slim (5.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 (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (47.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (52.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4349ms (Views: 4345.5ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:31:21 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:31:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.5ms) 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/quotations/_line_fields.html.slim (5.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 (41.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4048ms (Views: 4044.0ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:31:59 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:32:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) 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/quotations/_line_fields.html.slim (10.3ms) 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 (48.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (56.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 198ms (Views: 194.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:32:01 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:32:11 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.9ms) 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/quotations/_line_fields.html.slim (5.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 (40.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (46.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (50.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4262ms (Views: 4257.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:32:16 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:33:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.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 (40.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4141ms (Views: 4136.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:33:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:33:07 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:33:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (5.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 (40.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (49.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4276ms (Views: 4272.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:33:31 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:33:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (7.7ms) 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/quotations/_line_fields.html.slim (10.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 (51.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (55.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (60.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 3964ms (Views: 3959.4ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:33:48 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 13:34:02 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (40.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (44.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 216ms (Views: 211.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:34:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:34:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:34:03 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:36:07 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.6ms) 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/_data_context.html.slim (9.3ms) 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 LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (13.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (70.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 245ms (Views: 234.4ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 13:36:08 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (30.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 202ms (Views: 197.9ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:36:10 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (2.0ms) 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 LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (29.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 178ms (Views: 174.0ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 13:36:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.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 (53.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (63.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 206.6ms | ActiveRecord: 1.1ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:36:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YmNXp/AUPq2P7YsLIpYEn5tXODh/OrVEnRFUn2AZFvHAHO1UoL957lQRiYWgyPzUeQUAsm36NMf6MuFhstnkiQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"aaa", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (1.0ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", "aaa"], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 0.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-11-23 12:36:15.927107"], ["updated_at", "2015-11-23 12:36:15.927107"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 0.0], ["unit", ""], ["unit_price", 0.0], ["vat_rate", 20.0], ["total", 0.0], ["invoice_id", 1], ["created_at", "2015-11-23 12:36:15.931908"], ["updated_at", "2015-11-23 12:36:15.931908"]] 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 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]] 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]]  (0.5ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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]]  (3.4ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 34ms (ActiveRecord: 6.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:36:15 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (2.5ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (33.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 176ms (Views: 172.5ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:36:16 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-11-23 13:36:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show 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 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 LIMIT 1 [["invoice_id", 1]] CACHE (0.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 LIMIT 1 [["invoice_id", 1]] CACHE (0.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 LIMIT 1 [["invoice_id", 1]] CACHE (0.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 LIMIT 1 [["invoice_id", 1]] CACHE (0.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 LIMIT 1 [["invoice_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_details.html.slim (0.8ms) 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 (26.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 189ms (Views: 184.5ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2015-11-23 13:36:22 +0100 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::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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.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 (29.6ms) 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.2ms) Completed 200 OK in 185ms (Views: 180.7ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 13:37:43 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (0.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (27.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 266ms (Views: 261.8ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:37:45 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) 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/_data_context.html.slim (2.5ms) 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 LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (32.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 180ms (Views: 176.6ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 13:37:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_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 (29.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (37.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 249ms (Views: 244.2ms | ActiveRecord: 0.6ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:38:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rVDbDzusqRxhPeZ8DPBfSGX/8Fr1RpgicGkeZvwhGrQPL2H8awfuX7rB5PKOrqcDh63I0OeGGaEXSquYLuHozA==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}, "1448282279084"=>{"_destroy"=>"false", "label"=>"b", "quantity"=>"8,00", "unit"=>"", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:38:28.624488"], ["updated_at", "2015-11-23 12:38:28.624488"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:38:28.627467"], ["updated_at", "2015-11-23 12:38:28.627467"]] 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", 2]]  (3.2ms) rollback transaction Completed 500 Internal Server Error in 19ms (ActiveRecord: 4.5ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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.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/diagnostics.html.erb within rescues/layout (88.5ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:38:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (1.7ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.8ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:38:47.004195"], ["updated_at", "2015-11-23 12:38:47.004195"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:38:47.012334"], ["updated_at", "2015-11-23 12:38:47.012334"]] 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", 2]]  (2.7ms) rollback transaction Completed 500 Internal Server Error in 36ms (ActiveRecord: 6.5ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (6.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.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/diagnostics.html.erb within rescues/layout (87.6ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 13:39:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.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 (32.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (39.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 192ms (Views: 187.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:39:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:39:02 +0100 Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:39:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:39:05.699802"], ["updated_at", "2015-11-23 12:39:05.699802"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:39:05.702375"], ["updated_at", "2015-11-23 12:39:05.702375"]] 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", 2]]  (2.1ms) rollback transaction Completed 500 Internal Server Error in 21ms (ActiveRecord: 3.5ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (13.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.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.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/diagnostics.html.erb within rescues/layout (87.0ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:40:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:40:48.696926"], ["updated_at", "2015-11-23 12:40:48.696926"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:40:48.699742"], ["updated_at", "2015-11-23 12:40:48.699742"]] 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", 2]]  (2.0ms) rollback transaction Completed 500 Internal Server Error in 134ms (ActiveRecord: 5.9ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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.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.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/diagnostics.html.erb within rescues/layout (81.2ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:41:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.0ms) 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:41:53.732263"], ["updated_at", "2015-11-23 12:41:53.732263"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:41:53.735047"], ["updated_at", "2015-11-23 12:41:53.735047"]] 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", 2]]  (2.1ms) rollback transaction Completed 500 Internal Server Error in 140ms (ActiveRecord: 6.2ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (13.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.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.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/diagnostics.html.erb within rescues/layout (87.8ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:43:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.0ms) 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:43:56.541208"], ["updated_at", "2015-11-23 12:43:56.541208"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:43:56.544491"], ["updated_at", "2015-11-23 12:43:56.544491"]] 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", 2]]  (2.3ms) rollback transaction Completed 500 Internal Server Error in 179ms (ActiveRecord: 7.6ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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 (4.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.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/diagnostics.html.erb within rescues/layout (92.0ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:45:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.1ms) 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" Completed 500 Internal Server Error in 118ms (ActiveRecord: 3.2ms) RuntimeError (z): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (5.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/_trace.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/_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/diagnostics.html.erb within rescues/layout (80.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:45:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:45:19.454019"], ["updated_at", "2015-11-23 12:45:19.454019"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:45:19.457177"], ["updated_at", "2015-11-23 12:45:19.457177"]] 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", 2]]  (0.7ms) rollback transaction Completed 500 Internal Server Error in 156ms (ActiveRecord: 4.6ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (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/diagnostics.html.erb within rescues/layout (87.0ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:47:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHOrCiXwBodKY54YrDSCvHCyRJhYmd6s12FT/PXDuikyDBH5dVtBxJGfnJYuanr3kuB8EkpZXy+wQuYCJwNIUQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.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"  (0.2ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:47:52.929350"], ["updated_at", "2015-11-23 12:47:52.929350"], ["unique_index", 2], ["tracking_id", "2015-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 2], ["created_at", "2015-11-23 12:47:52.933348"], ["updated_at", "2015-11-23 12:47:52.933348"]]  (4.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 196ms (ActiveRecord: 8.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:47:52 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (18.0ms) Completed 500 Internal Server Error in 75ms (ActiveRecord: 0.9ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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 (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.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 (84.3ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 13:49:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.8ms) 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::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_fields.html.slim (1.2ms) 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 (31.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (35.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 297ms (Views: 182.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:49:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:49:50 +0100 Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:49:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwqhE8itJySZMmqcCiqTS8GOb2yXHfw0zIqx8/vxBkdtdRvgmAZgZ0LOaBKIdGsAI9xX5oXdfberqQQNKTH0Pw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (1.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:49:56.826935"], ["updated_at", "2015-11-23 12:49:56.826935"], ["unique_index", 3], ["tracking_id", "2015-03"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 3], ["created_at", "2015-11-23 12:49:56.830429"], ["updated_at", "2015-11-23 12:49:56.830429"]] 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", 3]] 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", 3]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 3]] SQL (0.5ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:49:56.837164"], ["id", 3]]  (3.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 26ms (ActiveRecord: 6.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:49:56 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) 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/_data_context.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (16.1ms) Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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 (81.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwqhE8itJySZMmqcCiqTS8GOb2yXHfw0zIqx8/vxBkdtdRvgmAZgZ0LOaBKIdGsAI9xX5oXdfberqQQNKTH0Pw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:50:04.372377"], ["updated_at", "2015-11-23 12:50:04.372377"], ["unique_index", 4], ["tracking_id", "2015-04"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 4], ["created_at", "2015-11-23 12:50:04.375005"], ["updated_at", "2015-11-23 12:50:04.375005"]] 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 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::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]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:50:04.381800"], ["id", 4]]  (3.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 26ms (ActiveRecord: 5.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:04 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.7ms) 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/_data_context.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (19.4ms) Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (12.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.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.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 (86.9ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwqhE8itJySZMmqcCiqTS8GOb2yXHfw0zIqx8/vxBkdtdRvgmAZgZ0LOaBKIdGsAI9xX5oXdfberqQQNKTH0Pw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"10,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 10.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -10.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 12:50:08.109421"], ["updated_at", "2015-11-23 12:50:08.109421"], ["unique_index", 5], ["tracking_id", "2015-05"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 5], ["created_at", "2015-11-23 12:50:08.112484"], ["updated_at", "2015-11-23 12:50:08.112484"]] Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 5]]  (2.5ms) rollback transaction Completed 500 Internal Server Error in 19ms (ActiveRecord: 3.7ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (13.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 (5.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.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/diagnostics.html.erb within rescues/layout (85.4ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwqhE8itJySZMmqcCiqTS8GOb2yXHfw0zIqx8/vxBkdtdRvgmAZgZ0LOaBKIdGsAI9xX5oXdfberqQQNKTH0Pw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.3ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:50:16.619520"], ["updated_at", "2015-11-23 12:50:16.619520"], ["unique_index", 5], ["tracking_id", "2015-05"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 5], ["created_at", "2015-11-23 12:50:16.622256"], ["updated_at", "2015-11-23 12:50:16.622256"]] 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", 5]] 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", 5]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 5]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:50:16.628140"], ["id", 5]]  (2.8ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 26ms (ActiveRecord: 4.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:16 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.2ms) 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/_data_context.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (17.8ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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/_trace.html.erb (4.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.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.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwqhE8itJySZMmqcCiqTS8GOb2yXHfw0zIqx8/vxBkdtdRvgmAZgZ0LOaBKIdGsAI9xX5oXdfberqQQNKTH0Pw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"10,00", "advance"=>"1,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.2ms) 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 1.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 9.0], ["created_at", "2015-11-23 12:50:22.407319"], ["updated_at", "2015-11-23 12:50:22.407319"], ["unique_index", 6], ["tracking_id", "2015-06"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 6], ["created_at", "2015-11-23 12:50:22.410014"], ["updated_at", "2015-11-23 12:50:22.410014"]] Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 6]] 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", 6]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 6]] SQL (0.7ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 59.0], ["updated_at", "2015-11-23 12:50:22.415620"], ["id", 6]]  (3.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 25ms (ActiveRecord: 5.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:22 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (18.2ms) Completed 500 Internal Server Error in 57ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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 (3.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 (80.2ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 13:50:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (0.9ms) 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 (28.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (32.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 202ms (Views: 196.3ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 13:50:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 13:50:46 +0100 Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EIirmW4MjEikUQHehgx/4SRLTVLjut5zypqcP+cUM0qy9xFqPqfLC3+tA1AEUoeqxhl12PF6X/CtuSnBNdTBMg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:50:56.730829"], ["updated_at", "2015-11-23 12:50:56.730829"], ["unique_index", 7], ["tracking_id", "2015-07"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 7], ["created_at", "2015-11-23 12:50:56.733784"], ["updated_at", "2015-11-23 12:50:56.733784"]] 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", 7]] 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", 7]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 7]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:50:56.740642"], ["id", 7]]  (2.9ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 28ms (ActiveRecord: 5.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:50:56 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (19.6ms) Completed 500 Internal Server Error in 68ms (ActiveRecord: 0.8ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (12.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 (5.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.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/template_error.html.erb within rescues/layout (86.0ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:51:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EIirmW4MjEikUQHehgx/4SRLTVLjut5zypqcP+cUM0qy9xFqPqfLC3+tA1AEUoeqxhl12PF6X/CtuSnBNdTBMg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:51:19.142830"], ["updated_at", "2015-11-23 12:51:19.142830"], ["unique_index", 8], ["tracking_id", "2015-08"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 8], ["created_at", "2015-11-23 12:51:19.145447"], ["updated_at", "2015-11-23 12:51:19.145447"]] Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 8]] 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", 8]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 8]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:51:19.152250"], ["id", 8]]  (3.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 5.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:51:19 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (20.6ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.7ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (13.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 (6.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.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 (87.7ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:51:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EIirmW4MjEikUQHehgx/4SRLTVLjut5zypqcP+cUM0qy9xFqPqfLC3+tA1AEUoeqxhl12PF6X/CtuSnBNdTBMg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 12:51:26.466090"], ["updated_at", "2015-11-23 12:51:26.466090"], ["unique_index", 9], ["tracking_id", "2015-09"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 9], ["created_at", "2015-11-23 12:51:26.468172"], ["updated_at", "2015-11-23 12:51:26.468172"]] 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", 9]] 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", 9]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 9]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 12:51:26.473307"], ["id", 9]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 20ms (ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:51:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.4ms) 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/_data_context.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (16.0ms) Completed 500 Internal Server Error in 59ms (ActiveRecord: 0.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (15.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 (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.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 (99.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:52:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.9ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) 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/_data_context.html.slim (19.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (30.1ms) Completed 500 Internal Server Error in 156ms (ActiveRecord: 2.4ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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 (5.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.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 (88.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:53:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (18.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (30.5ms) Completed 500 Internal Server Error in 159ms (ActiveRecord: 2.2ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365425930000' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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 (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.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 (84.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:54:05 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (36.5ms) Completed 500 Internal Server Error in 82ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 35: = euros(invoice.total_excluding_taxes) 36: 37: td.hidden-xs.total_including_taxes 38: = euros(invoice.total_including_taxes) 39: 40: td.actions 41: = read_button dorsale.billing_machine_invoice_path(invoice) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__47f64716c6f596e636c6574696e676f54716875637' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim:38:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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/_list.html.slim:23:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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:12:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:11:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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.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.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 (83.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:54:07 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (0.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (31.4ms) Completed 500 Internal Server Error in 75ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 35: = euros(invoice.total_excluding_taxes) 36: 37: td.hidden-xs.total_including_taxes 38: = euros(invoice.total_including_taxes) 39: 40: td.actions 41: = read_button dorsale.billing_machine_invoice_path(invoice) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__47f64716c6f596e636c6574696e676f54716875637' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim:38:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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/_list.html.slim:23:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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:12:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:11:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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/_trace.html.erb (5.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 (3.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/template_error.html.erb within rescues/layout (96.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:54:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) 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/_data_context.html.slim (10.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (22.7ms) Completed 500 Internal Server Error in 64ms (ActiveRecord: 0.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365224679500' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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.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 (82.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:54:30 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.4ms) 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/_data_context.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (19.1ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365224679500' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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.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.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.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 (89.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:55:12 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (22.5ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) 9: = context_info ::Dorsale::BillingMachine::Invoice.t(:vat_amount), euros(vat_amount) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__47f64716c6f596e636c6574696e676f54716875637' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:6:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365349502540' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (32.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 (5.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 (2.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 (110.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:55:21 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (27.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.3ms) Completed 500 Internal Server Error in 103ms (ActiveRecord: 0.8ms) ActionView::Template::Error (-Infinity): 35: = euros(invoice.total_excluding_taxes) 36: 37: td.hidden-xs.total_including_taxes 38: = euros(invoice.total_including_taxes) 39: 40: td.actions 41: = read_button dorsale.billing_machine_invoice_path(invoice) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__47f64716c6f596e636c6574696e676f54716875637' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim:38:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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/_list.html.slim:23:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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:12:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:11:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (14.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 (6.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.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 (95.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 13:55:29 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (0.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (15.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (32.4ms) Completed 500 Internal Server Error in 74ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 35: = euros(invoice.total_excluding_taxes) 36: 37: td.hidden-xs.total_including_taxes 38: = euros(invoice.total_including_taxes) 39: 40: td.actions 41: = read_button dorsale.billing_machine_invoice_path(invoice) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__47f64716c6f596e636c6574696e676f54716875637' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim:38:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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/_list.html.slim:23:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__list_html_slim___699222128698686404_70365274958440' 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:12:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:11:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (13.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 (4.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 (88.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:00:18 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (10.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (22.9ms) Completed 500 Internal Server Error in 71ms (ActiveRecord: 0.6ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3385126135070154374_70365214811580' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__3074291657924135112_70365247759720' 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:25: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 (13.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/_trace.html.erb (4.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.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/template_error.html.erb within rescues/layout (96.9ms) Started GET "/" for ::1 at 2015-11-23 14:13:17 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (15.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.2ms) Completed 200 OK in 644ms (Views: 632.6ms | ActiveRecord: 0.0ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:13:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:13:19 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:13:24 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (883.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (30.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (930.4ms) Completed 500 Internal Server Error in 986ms (ActiveRecord: 1.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3991003234027060273_70128190001140' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim___1327194756666358860_70128121973800' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim___1327194756666358860_70128121973800' 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:25: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 (9.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 (3.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.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/template_error.html.erb within rescues/layout (85.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:13:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (18.1ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.5ms) ActionView::Template::Error (-Infinity): 2: = context_title ::Dorsale::BillingMachine::Invoice.t(:data) 3: 4: - total_excluding_taxes = @invoices_without_pagination.map(&:total_excluding_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 5: - vat_amount = @invoices_without_pagination.map(&:vat_amount).delete_if {|e| e.blank?}.inject(:+) || 0 6: - total_including_taxes = @invoices_without_pagination.map(&:total_including_taxes).delete_if {|e| e.blank?}.inject(:+) || 0 7: 8: = context_info ::Dorsale::BillingMachine::Invoice.t(:total_excluding_taxes), euros(total_excluding_taxes) /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__data_context_html_slim___3991003234027060273_70128190001140' 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:9:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim___1327194756666358860_70128121973800' 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/capture_helper.rb:152:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim___1327194756666358860_70128121973800' 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:25: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.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/_trace.html.erb (4.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.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.5ms) Dorsale::BillingMachine::Invoice Load (2.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:15:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.2ms) 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/_data_context.html.slim (15.9ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (35.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (89.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 242ms (Views: 232.7ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:15:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:15:58 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:15:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.5ms) 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::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_fields.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.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 (158.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (167.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 384ms (Views: 328.3ms | ActiveRecord: 2.0ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:16:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/AIYgpCqweWJyw4SUsaD8R8/21KWZYq0xFwRq8hJLcJefaJxwAGGplI3DJzQmHu6/W3j2ISlCzejf6RVGonfug==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"5"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"0,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.7ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 10.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 10.0], ["balance", 10.0], ["created_at", "2015-11-23 13:16:05.462013"], ["updated_at", "2015-11-23 13:16:05.462013"], ["unique_index", 10], ["tracking_id", "2015-10"]] SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 10.0], ["unit", ""], ["unit_price", 5.0], ["vat_rate", 20.0], ["total", 50.0], ["invoice_id", 10], ["created_at", "2015-11-23 13:16:05.465689"], ["updated_at", "2015-11-23 13:16:05.465689"]] 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", 10]] 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", 10]] 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 10]] SQL (0.7ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 50.0], ["total_including_taxes", 60.0], ["balance", 60.0], ["updated_at", "2015-11-23 13:16:05.483597"], ["id", 10]]  (3.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 50ms (ActiveRecord: 6.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:16:05 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (3.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 192ms (Views: 186.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:16:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:16:06 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:16:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.1ms) 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 (29.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (35.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 204.8ms | ActiveRecord: 0.6ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:16:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0+oFUt2+tNxsij6ttDie+Ecak1Z20h6z0AlbFJtmQOtxlb+hjRXzn7d2PCM2ZmazpUir3GQSnzC3Ku7qSaaykw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}, "1448284583666"=>{"_destroy"=>"false", "label"=>" ", "quantity"=>"8,00", "unit"=>"", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 40.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 40.0], ["balance", 40.0], ["created_at", "2015-11-23 13:16:31.196476"], ["updated_at", "2015-11-23 13:16:31.196476"], ["unique_index", 11], ["tracking_id", "2015-11"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 11], ["created_at", "2015-11-23 13:16:31.199096"], ["updated_at", "2015-11-23 13:16:31.199096"]] 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", 11]] 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", 11]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 11]] SQL (0.5ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 40.0], ["vat_amount", 8.0], ["total_including_taxes", 48.0], ["balance", 48.0], ["updated_at", "2015-11-23 13:16:31.205765"], ["id", 11]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", " "], ["quantity", 8.0], ["unit", ""], ["unit_price", 20.0], ["vat_rate", 20.0], ["total", 160.0], ["invoice_id", 11], ["created_at", "2015-11-23 13:16:31.208844"], ["updated_at", "2015-11-23 13:16:31.208844"]] 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", 11]] 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", 11]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 11]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 200.0], ["vat_amount", 40.0], ["total_including_taxes", 240.0], ["balance", 240.0], ["updated_at", "2015-11-23 13:16:31.215077"], ["id", 11]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 36ms (ActiveRecord: 5.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:16:31 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (3.7ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (49.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 204ms (Views: 199.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:16:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:16:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:16:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:16:32 +0100 Started GET "/dorsale/billing_machine/invoices/11" for ::1 at 2015-11-23 14:17:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"11"} 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", 11]] 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 LIMIT 1 [["invoice_id", 11]] CACHE (0.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 LIMIT 1 [["invoice_id", 11]] CACHE (0.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 LIMIT 1 [["invoice_id", 11]] CACHE (0.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 LIMIT 1 [["invoice_id", 11]] CACHE (0.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 LIMIT 1 [["invoice_id", 11]] 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", 11]] 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/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (56.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 233ms (Views: 228.4ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/11/edit" for ::1 at 2015-11-23 14:17:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"11"} 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", 11]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 11]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) 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 (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 211ms (Views: 206.9ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:20:58 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (2.7ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 193ms (Views: 189.1ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:21:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.0ms) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (38.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 191ms (Views: 184.1ms | ActiveRecord: 0.8ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:21:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/lD8TLbqbhc+F8OuUqJ/0FJCDui6aHKSWxvOoxDkdSNcL0a/5kEpVOXrwSDQ/IebsBA2Yqio8xE8OHtdwiSHWw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"e", "unit_price"=>"10,00"}, "1448284879290"=>{"_destroy"=>"false", "label"=>"b ", "quantity"=>"8,00", "unit"=>"e", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.3ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:21:41.233557"], ["updated_at", "2015-11-23 13:21:41.233557"], ["unique_index", 12], ["tracking_id", "2015-12"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", "e"], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 12], ["created_at", "2015-11-23 13:21:41.236891"], ["updated_at", "2015-11-23 13:21:41.236891"]] 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", 12]]  (2.6ms) rollback transaction Completed 500 Internal Server Error in 24ms (ActiveRecord: 4.3ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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 (4.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.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/diagnostics.html.erb within rescues/layout (88.1ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:23:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/lD8TLbqbhc+F8OuUqJ/0FJCDui6aHKSWxvOoxDkdSNcL0a/5kEpVOXrwSDQ/IebsBA2Yqio8xE8OHtdwiSHWw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"e", "unit_price"=>"10,00"}, "1448284879290"=>{"_destroy"=>"false", "label"=>"b ", "quantity"=>"8,00", "unit"=>"e", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.9ms) 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 6.0], ["total_excluding_taxes", -20.0], ["total_including_taxes", -14.0], ["balance", -14.0], ["created_at", "2015-11-23 13:23:38.013382"], ["updated_at", "2015-11-23 13:23:38.013382"], ["unique_index", 12], ["tracking_id", "2015-12"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", "e"], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 12], ["created_at", "2015-11-23 13:23:38.016311"], ["updated_at", "2015-11-23 13:23:38.016311"]] 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", 12]] 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", 12]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 12]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 12]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 20.0], ["vat_amount", 3.0], ["total_including_taxes", 23.0], ["balance", 23.0], ["updated_at", "2015-11-23 13:23:38.024797"], ["id", 12]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "b "], ["quantity", 8.0], ["unit", "e"], ["unit_price", 20.0], ["vat_rate", 20.0], ["total", 160.0], ["invoice_id", 12], ["created_at", "2015-11-23 13:23:38.027659"], ["updated_at", "2015-11-23 13:23:38.027659"]] 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", 12]] 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", 12]] 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 12]] CACHE (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 12]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 180.0], ["vat_amount", 6.0], ["total_including_taxes", 186.0], ["balance", 186.0], ["updated_at", "2015-11-23 13:23:38.036894"], ["id", 12]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 174ms (ActiveRecord: 9.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:23:38 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (3.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (47.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 224ms (Views: 214.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:23:38 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:24:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.7ms) 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.2ms) 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/_data_context.html.slim (16.7ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (61.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 324ms (Views: 225.6ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:24:55 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) 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/_data_context.html.slim (2.8ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 186ms (Views: 182.3ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:24:56 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) 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/_data_context.html.slim (3.2ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (15.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (53.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 211ms (Views: 207.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:24:57 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:24:58 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_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 (29.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (34.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 239ms (Views: 203.0ms | ActiveRecord: 1.6ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:25:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ylGZWq881mcWosFi3DYboQC5vsEkH4LcPFbUJU6yVM9oLiOp/5eRJM1ew+xeaOPq4uuGSzbfA19bdWHbnHKmtw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}, "1448285109261"=>{"_destroy"=>"false", "label"=>" ", "quantity"=>"8,00", "unit"=>"", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:25:16.045235"], ["updated_at", "2015-11-23 13:25:16.045235"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:25:16.048488"], ["updated_at", "2015-11-23 13:25:16.048488"]] 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", 13]]  (2.5ms) rollback transaction Completed 500 Internal Server Error in 22ms (ActiveRecord: 4.3ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (15.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/_trace.html.erb (4.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.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/diagnostics.html.erb within rescues/layout (95.2ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:27:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ylGZWq881mcWosFi3DYboQC5vsEkH4LcPFbUJU6yVM9oLiOp/5eRJM1ew+xeaOPq4uuGSzbfA19bdWHbnHKmtw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"a", "quantity"=>"4,00", "unit"=>"", "unit_price"=>"10,00"}, "1448285109261"=>{"_destroy"=>"false", "label"=>" ", "quantity"=>"8,00", "unit"=>"", "unit_price"=>"20,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"20,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (1.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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 20.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -20.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:27:50.206390"], ["updated_at", "2015-11-23 13:27:50.206390"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "a"], ["quantity", 4.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 40.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:27:50.209676"], ["updated_at", "2015-11-23 13:27:50.209676"]] 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", 13]]  (2.1ms) rollback transaction Completed 500 Internal Server Error in 143ms (ActiveRecord: 6.3ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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.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/diagnostics.html.erb within rescues/layout (83.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:27:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.1ms) Dorsale::BillingMachine::Invoice Load (1.0ms) 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/_data_context.html.slim (13.4ms) Dorsale::BillingMachine::Invoice Load (6.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (68.1ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (136.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 419ms (Views: 332.5ms | ActiveRecord: 9.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:27:54 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (3.2ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 195ms (Views: 190.5ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:27:55 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (3.3ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 200.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:27:56 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:27:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.0ms) 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 (39.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 212ms (Views: 205.7ms | ActiveRecord: 0.9ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:28:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zNIO+o1Wgwgnh/3qV4QbFNEPxiQQwE9FbbFLpCLU3hZurbQJ3f3ES/x7/2TV2uNfM13+rgIAzsYKkv5a8BQsbg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -2.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:28:04.841355"], ["updated_at", "2015-11-23 13:28:04.841355"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:28:04.844508"], ["updated_at", "2015-11-23 13:28:04.844508"]] 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", 13]]  (1.9ms) rollback transaction Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.2ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (13.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 (6.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.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/diagnostics.html.erb within rescues/layout (95.7ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:28:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zNIO+o1Wgwgnh/3qV4QbFNEPxiQQwE9FbbFLpCLU3hZurbQJ3f3ES/x7/2TV2uNfM13+rgIAzsYKkv5a8BQsbg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.9ms) 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -2.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:28:53.760264"], ["updated_at", "2015-11-23 13:28:53.760264"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:28:53.763800"], ["updated_at", "2015-11-23 13:28:53.763800"]] 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", 13]]  (2.2ms) rollback transaction Completed 500 Internal Server Error in 137ms (ActiveRecord: 6.3ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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.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/diagnostics.html.erb within rescues/layout (85.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:29:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zNIO+o1Wgwgnh/3qV4QbFNEPxiQQwE9FbbFLpCLU3hZurbQJ3f3ES/x7/2TV2uNfM13+rgIAzsYKkv5a8BQsbg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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" Completed 500 Internal Server Error in 67ms (ActiveRecord: 1.8ms) RuntimeError (10,00): /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:90:in `vat_rate=' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `public_send' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `_assign_attribute' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:41:in `block in assign_attributes' actionpack (4.2.4) lib/action_controller/metal/strong_parameters.rb:185:in `each_pair' actionpack (4.2.4) lib/action_controller/metal/strong_parameters.rb:185:in `each_pair' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:35:in `assign_attributes' activerecord (4.2.4) lib/active_record/core.rb:564:in `init_attributes' activerecord (4.2.4) lib/active_record/core.rb:281:in `initialize' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:23:in `initialize' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:50:in `create' 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:38: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 (6.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/_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/diagnostics.html.erb within rescues/layout (82.1ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:29:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zNIO+o1Wgwgnh/3qV4QbFNEPxiQQwE9FbbFLpCLU3hZurbQJ3f3ES/x7/2TV2uNfM13+rgIAzsYKkv5a8BQsbg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.7ms) 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -2.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:29:38.170866"], ["updated_at", "2015-11-23 13:29:38.170866"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:29:38.174256"], ["updated_at", "2015-11-23 13:29:38.174256"]] 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", 13]]  (2.1ms) rollback transaction Completed 500 Internal Server Error in 159ms (ActiveRecord: 5.8ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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 (6.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.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/diagnostics.html.erb within rescues/layout (95.6ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:30:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zNIO+o1Wgwgnh/3qV4QbFNEPxiQQwE9FbbFLpCLU3hZurbQJ3f3ES/x7/2TV2uNfM13+rgIAzsYKkv5a8BQsbg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.7ms) 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"  (0.2ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -2.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:30:17.220220"], ["updated_at", "2015-11-23 13:30:17.220220"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:30:17.223451"], ["updated_at", "2015-11-23 13:30:17.223451"]] 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", 13]]  (2.0ms) rollback transaction Completed 500 Internal Server Error in 175ms (ActiveRecord: 5.8ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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.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 (5.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/diagnostics.html.erb within rescues/layout (91.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:31:21 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kzR03Xt72xDppzgmU8EB64fSC7e47QGAWW5j61OpjEQxS84uK9CcUzJbOqjRn/mgZYAzPaotgAM+TdYVgWl+PA==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.5ms) 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -2.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:31:21.561336"], ["updated_at", "2015-11-23 13:31:21.561336"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:31:21.563888"], ["updated_at", "2015-11-23 13:31:21.563888"]] 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", 13]]  (0.9ms) rollback transaction Completed 500 Internal Server Error in 17ms (ActiveRecord: 2.4ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (16.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 (5.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/diagnostics.html.erb within rescues/layout (93.6ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:31:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kzR03Xt72xDppzgmU8EB64fSC7e47QGAWW5j61OpjEQxS84uK9CcUzJbOqjRn/mgZYAzPaotgAM+TdYVgWl+PA==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"10,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 0.1], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.1], ["balance", 0.1], ["created_at", "2015-11-23 13:31:26.790689"], ["updated_at", "2015-11-23 13:31:26.790689"], ["unique_index", 13], ["tracking_id", "2015-13"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 10.0], ["total", 1.0], ["invoice_id", 13], ["created_at", "2015-11-23 13:31:26.793370"], ["updated_at", "2015-11-23 13:31:26.793370"]] 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", 13]] 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", 13]] 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoice_lines"."total" 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", 13]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "total_excluding_taxes" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_excluding_taxes", 1.0], ["total_including_taxes", 1.1], ["balance", 1.1], ["updated_at", "2015-11-23 13:31:26.800410"], ["id", 13]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 4.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:31:26 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (3.3ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (15.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (49.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 204ms (Views: 191.0ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:31:27 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:31:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new 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::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_fields.html.slim (1.0ms) 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.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 220ms (Views: 213.5ms | ActiveRecord: 0.9ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:31:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"E/HhwB7HmlDScB3fQL5hV1AkcHV5JSOQuDlvVJcAiaaxjlszTmzdEwmMH1HC4JkcsnZI/2vlohPfGtqqRcB73g==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"2,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"3,00", "vat_rate"=>"40,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.1ms) begin transaction 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]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 3.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -Infinity], ["total_excluding_taxes", -3.0], ["total_including_taxes", -Infinity], ["balance", -Infinity], ["created_at", "2015-11-23 13:31:37.381287"], ["updated_at", "2015-11-23 13:31:37.381287"], ["unique_index", 14], ["tracking_id", "2015-14"]] SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 2.0], ["vat_rate", 40.0], ["total", 2.0], ["invoice_id", 14], ["created_at", "2015-11-23 13:31:37.383891"], ["updated_at", "2015-11-23 13:31:37.383891"]] 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", 14]]  (2.6ms) rollback transaction Completed 500 Internal Server Error in 17ms (ActiveRecord: 4.0ms) FloatDomainError (-Infinity): /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_r' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `BigDecimal' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/bigdecimal/util.rb:39:in `to_d' activerecord (4.2.4) lib/active_record/type/decimal.rb:35:in `convert_float_to_big_decimal' activerecord (4.2.4) lib/active_record/type/decimal.rb:19:in `cast_value' /Users/benoit/www/agilidee/dorsale/lib/active_record_comma_type_cast.rb:6:in `cast_value' activerecord (4.2.4) lib/active_record/type/value.rb:93:in `type_cast' activerecord (4.2.4) lib/active_record/type/numeric.rb:15:in `type_cast' activerecord (4.2.4) lib/active_record/type/value.rb:23:in `type_cast_from_database' activerecord (4.2.4) lib/active_record/attribute.rb:104:in `type_cast' activerecord (4.2.4) lib/active_record/attribute.rb:42:in `original_value' activerecord (4.2.4) lib/active_record/attribute.rb:37:in `value' activerecord (4.2.4) lib/active_record/attribute_set.rb:31:in `fetch_value' activerecord (4.2.4) lib/active_record/attribute_methods/read.rb:93:in `_read_attribute' activerecord (4.2.4) lib/active_record/attribute_methods.rb:50:in `__temp__671647f516d6f657e647' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice.rb:45:in `assign_default_values' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504: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_validation_callbacks' activemodel (4.2.4) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.4) lib/active_model/validations.rb:337:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:58:in `valid?' activerecord (4.2.4) lib/active_record/validations.rb:83:in `perform_validations' activerecord (4.2.4) lib/active_record/validations.rb:43:in `save!' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `block in save!' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:291:in `save!' /Users/benoit/www/agilidee/dorsale/app/models/dorsale/billing_machine/invoice_line.rb:34:in `update_invoice_total' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' activerecord (4.2.4) lib/active_record/associations/has_many_association.rb:41:in `insert_record' activerecord (4.2.4) lib/active_record/autosave_association.rb:371:in `block in save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `each' activerecord (4.2.4) lib/active_record/autosave_association.rb:364:in `save_collection_association' activerecord (4.2.4) lib/active_record/autosave_association.rb:184:in `block in add_autosave_association_callbacks' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `instance_eval' activerecord (4.2.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:506:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:506: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_create_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.2.4) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.2.4) lib/active_record/persistence.rb:504:in `create_or_update' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `block in create_or_update' 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_save_callbacks' activerecord (4.2.4) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.2.4) lib/active_record/persistence.rb:120:in `save' activerecord (4.2.4) lib/active_record/validations.rb:37:in `save' activerecord (4.2.4) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block (2 levels) in save' activerecord (4.2.4) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:220:in `transaction' activerecord (4.2.4) lib/active_record/transactions.rb:348:in `with_transaction_returning_status' activerecord (4.2.4) lib/active_record/transactions.rb:286:in `block in save' activerecord (4.2.4) lib/active_record/transactions.rb:301:in `rollback_active_record_state!' activerecord (4.2.4) lib/active_record/transactions.rb:285:in `save' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:54:in `create' 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:38: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 (5.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/diagnostics.html.erb within rescues/layout (90.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:35:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"E/HhwB7HmlDScB3fQL5hV1AkcHV5JSOQuDlvVJcAiaaxjlszTmzdEwmMH1HC4JkcsnZI/2vlohPfGtqqRcB73g==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"2,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"3,00", "vat_rate"=>"40,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.7ms) 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"  (0.1ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 3.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", -0.4], ["total_excluding_taxes", -1.0], ["total_including_taxes", -1.4], ["balance", -1.4], ["created_at", "2015-11-23 13:35:57.477912"], ["updated_at", "2015-11-23 13:35:57.477912"], ["unique_index", 14], ["tracking_id", "2015-14"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 2.0], ["vat_rate", 40.0], ["total", 2.0], ["invoice_id", 14], ["created_at", "2015-11-23 13:35:57.481437"], ["updated_at", "2015-11-23 13:35:57.481437"]] 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", 14]] 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", 14]] 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]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 142ms (ActiveRecord: 7.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:35:57 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) 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/_data_context.html.slim (4.4ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (14.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (51.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 248ms (Views: 238.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:35:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:35:58 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-11-23 14:37:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML 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::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_fields.html.slim (1.2ms) 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.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (44.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 346ms (Views: 199.0ms | ActiveRecord: 3.4ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:37:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IfscKD0LU0+3zWb0UEwZmCEbtWxFwqWNf8m7AZhZj8mDhKbbbaAUDGwxZHrSEuHTw0mN5lcCJA4Y6g7/Spl9sQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"2,00"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"3,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} 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"  (0.2ms) begin transaction 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]]  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2015-11-23"], ["commercial_discount", 2.0], ["advance", 0.0], ["due_date", "2015-12-23"], ["vat_amount", 0.0], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-11-23 13:37:13.276531"], ["updated_at", "2015-11-23 13:37:13.276531"], ["unique_index", 15], ["tracking_id", "2015-15"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 2.0], ["vat_rate", 3.0], ["total", 2.0], ["invoice_id", 15], ["created_at", "2015-11-23 13:37:13.280004"], ["updated_at", "2015-11-23 13:37:13.280004"]] 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", 15]] 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", 15]] 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]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 25ms (ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:37:13 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (3.2ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.1ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (52.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 223ms (Views: 212.2ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:37:13 +0100 Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:37:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 184ms (Views: 180.1ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:38:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (30.8ms) 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 185ms (Views: 181.0ms | ActiveRecord: 0.9ms) Started PATCH "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:38:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"7vzqbQC5a/sCIFwciQS1EK3+g3cxqI0RZa4h1nj6Mp1Mg1CeUBIsuNncXpILWk1bT6y7/SNoDJICjZQoqjrA5Q==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"aaaa", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"2,00", "id"=>"17"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"2,00", "vat_rate"=>"3,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/15/edit", "id"=>"15"} 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", 15]]  (0.1ms) begin transaction 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 17 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 15]] 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", 15]] 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]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 2.0], ["advance", 0.0], ["total_excluding_taxes", 18.0], ["vat_amount", 0.54], ["total_including_taxes", 18.54], ["balance", 18.54], ["updated_at", "2015-11-23 13:38:55.210276"], ["id", 15]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["label", "aaaa"], ["quantity", 10.0], ["unit_price", 2.0], ["vat_rate", 3.0], ["total", 20.0], ["updated_at", "2015-11-23 13:38:55.212189"], ["id", 17]] 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", 15]] 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", 15]] 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]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 26ms (ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:38:55 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) 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/_data_context.html.slim (3.4ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 208ms (Views: 203.5ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:38:55 +0100 Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:38:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (11.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (32.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 190ms (Views: 186.2ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:39:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 184ms (Views: 179.9ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:41:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (26.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4384ms (Views: 4379.4ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:41:40 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:41:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (35.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 206ms (Views: 202.3ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:41:58 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (25.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4272ms (Views: 4267.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:42:03 +0100 Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:42:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 206.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:42:09 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:42:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (31.6ms) 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 231ms (Views: 227.1ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:42:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (39.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (45.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 225ms (Views: 220.4ms | ActiveRecord: 0.9ms) Started PATCH "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:42:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qM8XkWgJGxAhmtfobhSzxgQLLsCUUnG9R/LOiLxqftIKsK1iOKJcU/pm1WbsSkuN5lkWSoaS8D4g0Xt2bqqMqg==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"aaaa", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"2,00", "id"=>"17"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"3,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/15/edit", "id"=>"15"} 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", 15]]  (0.1ms) begin transaction 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 17 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 15]] 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", 15]] 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]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["total_excluding_taxes", 20.0], ["vat_amount", 0.6], ["total_including_taxes", 20.6], ["balance", 20.6], ["updated_at", "2015-11-23 13:42:22.177296"], ["id", 15]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 10.0], ["unit_price", 2.0], ["vat_rate", 3.0], ["updated_at", "2015-11-23 13:42:22.179229"], ["id", 17]] 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", 15]] 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", 15]] 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]]  (3.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 25ms (ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:42:22 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.6ms) 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/_data_context.html.slim (4.3ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (21.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (56.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 225ms (Views: 220.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:42:22 +0100 Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:42:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (24.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 195.7ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:42:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (43.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 198ms (Views: 193.7ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:43:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 195.5ms | ActiveRecord: 1.0ms) Started PATCH "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:44:36 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m+Mx7XCGFKxj9EUyio4ffj69MgmAtSn2XmJfh9kPzJ05nIseIC1T77gIR7wI0Oc13O8Kg5J1qHU5Qep5C88+5Q==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"23/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Développement blabalabl", "quantity"=>"10,00", "unit"=>"jours", "unit_price"=>"400,00", "id"=>"17"}}, "payment_term_id"=>"", "due_date"=>"23/12/2015", "paid"=>"false", "commercial_discount"=>"1 000,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/15/edit", "id"=>"15"} 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", 15]]  (0.1ms) begin transaction 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" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 17 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 15]] 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", 15]] 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]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 1000.0], ["advance", 0.0], ["total_excluding_taxes", 3000.0], ["vat_amount", 600.0], ["total_including_taxes", 3600.0], ["balance", 3600.0], ["updated_at", "2015-11-23 13:44:36.323104"], ["id", 15]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "label" = ?, "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["label", "Développement blabalabl"], ["quantity", 10.0], ["unit", "jours"], ["unit_price", 400.0], ["vat_rate", 20.0], ["total", 4000.0], ["updated_at", "2015-11-23 13:44:36.324904"], ["id", 17]] 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", 15]] 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", 15]] 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]]  (3.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 24ms (ActiveRecord: 4.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 14:44:36 +0100 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) Dorsale::BillingMachine::Invoice Load (0.6ms) 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/_data_context.html.slim (3.6ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (16.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (49.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 203ms (Views: 198.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:44:36 +0100 Started GET "/dorsale/billing_machine/invoices/15" for ::1 at 2015-11-23 14:44:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"15"} 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", 15]] 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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] CACHE (0.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 LIMIT 1 [["invoice_id", 15]] 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (14.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (20.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 160ms (Views: 155.3ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:45:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (31.4ms) 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 171ms (Views: 166.6ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 14:47:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (21.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 (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (75.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 237ms (Views: 233.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 14:47:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 14:47:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:01:32 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:03:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.6ms) Completed 500 Internal Server Error in 83ms (ActiveRecord: 0.7ms) ActionView::Template::Error (':line_fields' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render(:line_fields, f: f) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:382:in `setup' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:293: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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70127976465480' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70127976465480' 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__2031766502260976451_70127971111460' 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 (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.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.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/template_error.html.erb within rescues/layout (87.4ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:03:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (58.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (62.8ms) Completed 500 Internal Server Error in 111ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `quantity' for #): 8: = f.text_area :label, rows: 1 9: 10: td.line-quantity 11: = f.text_field :quantity, class: "number" 12: 13: td.line-unit 14: = f.text_field :unit activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.4) lib/action_view/helpers/tags/base.rb:38:in `value_before_type_cast' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.4) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1323:in `text_field' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:11:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70128197036100' 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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128106278520' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128106278520' 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__2031766502260976451_70127971111460' 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 (14.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.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.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 (88.6ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:04:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (112.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (116.6ms) Completed 500 Internal Server Error in 158ms (ActiveRecord: 1.9ms) ActionView::Template::Error (undefined local variable or method `fl' for #<#:0x007f8ff380b0d0>): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: fl) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128104712160' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128104712160' 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__2031766502260976451_70127971111460' 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.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.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.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 (86.0ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:04:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (32.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.9ms) Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.8ms) ActionView::Template::Error (no block given (yield)): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: f.fields_for(document.lines.new)) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1599:in `fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70127972915920' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70127972915920' 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__2031766502260976451_70127971111460' 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 (4.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.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.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:05:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (44.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (48.9ms) Completed 500 Internal Server Error in 97ms (ActiveRecord: 1.2ms) ActionView::Template::Error (no block given (yield)): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: f.fields_for(:lines, document.lines.new)) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `each' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128218918740' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128218918740' 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__2031766502260976451_70127971111460' 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 (11.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 (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.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.3ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:06:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (119.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (123.6ms) Completed 500 Internal Server Error in 165ms (ActiveRecord: 1.2ms) ActionView::Template::Error (undefined method `lines' for #): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: form_for(f.lines.new)) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70127972932840' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70127972932840' 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__2031766502260976451_70127971111460' 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.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/_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 (85.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:06:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (53.9ms) Completed 500 Internal Server Error in 98ms (ActiveRecord: 0.8ms) ActionView::Template::Error (Missing block): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: form_for(document.lines.new)) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms actionview (4.2.4) lib/action_view/helpers/form_helper.rb:423:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128209717300' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128209717300' 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__2031766502260976451_70127971111460' 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.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.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 (87.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:06:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (41.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.3ms) Completed 500 Internal Server Error in 89ms (ActiveRecord: 0.9ms) ActionView::Template::Error (Missing block): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: form_for(document.lines.new{})) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms actionview (4.2.4) lib/action_view/helpers/form_helper.rb:423:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128131447620' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128131447620' 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__2031766502260976451_70127971111460' 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 (8.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.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.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 (75.1ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:08:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (36.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (43.0ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.7ms) ActionView::Template::Error (no block given (yield)): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: f.fields_for(:lines) ) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128203399980' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128203399980' 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__2031766502260976451_70127971111460' 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 (16.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.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.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 (86.2ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:08:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (71.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.1ms) Completed 500 Internal Server Error in 123ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `hidden_field' for "":ActiveSupport::SafeBuffer): 2: td.actions 3: a.delete href="#" 4: span.fa.fa-fw.fa-trash 5: = f.hidden_field :_destroy 6: 7: td.line-label 8: = f.text_area :label, rows: 1 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70128197036100' 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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128232241280' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128232241280' 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__2031766502260976451_70127971111460' 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 (13.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 (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 (90.4ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:08:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (59.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (63.8ms) Completed 500 Internal Server Error in 108ms (ActiveRecord: 0.7ms) ActionView::Template::Error (undefined method `hidden_field' for "":ActiveSupport::SafeBuffer): 2: td.actions 3: a.delete href="#" 4: span.fa.fa-fw.fa-trash 5: = f.hidden_field :_destroy 6: 7: td.line-label 8: = f.text_area :label, rows: 1 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70128197036100' 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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128121907280' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128121907280' 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__2031766502260976451_70127971111460' 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 (13.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 (3.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.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 (90.5ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:09:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (8.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (53.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.2ms) Completed 500 Internal Server Error in 101ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `hidden_field' for "":ActiveSupport::SafeBuffer): 2: td.actions 3: a.delete href="#" 4: span.fa.fa-fw.fa-trash 5: = f.hidden_field :_destroy 6: 7: td.line-label 8: = f.text_area :label, rows: 1 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70128197036100' 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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128180855800' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128180855800' 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__2031766502260976451_70127971111460' 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 (14.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.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.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/template_error.html.erb within rescues/layout (92.1ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:09:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.4ms) Completed 500 Internal Server Error in 96ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `line' for #): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: f.simple_form_for(document.line.new){ |f| f } ) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128107096340' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128107096340' 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__2031766502260976451_70127971111460' 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 (9.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/_trace.html.erb (4.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.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 (81.0ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:09:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (245.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (250.9ms) Completed 500 Internal Server Error in 293ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `simple_form_for' for #): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: f.simple_form_for(document.lines.new){ |f| f } ) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128204296920' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128204296920' 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__2031766502260976451_70127971111460' 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 (9.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 (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 (83.6ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:09:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (122.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (127.0ms) Completed 500 Internal Server Error in 173ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `billing_machine_invoice_lines_path' for #<#:0x007f8ff6e979a0>): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=render("line_fields", f: simple_form_for(document.lines.new){ |f| f } ) 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms actionpack (4.2.4) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.4) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:434:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128150111420' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128150111420' 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__2031766502260976451_70127971111460' 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 (9.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 (3.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.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 (82.4ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:10:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (41.5ms) Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `hidden_field' for #): 2: td.actions 3: a.delete href="#" 4: span.fa.fa-fw.fa-trash 5: = f.hidden_field :_destroy 6: 7: td.line-label 8: = f.text_area :label, rows: 1 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70128197036100' 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/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70127971731400' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70127971731400' 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__2031766502260976451_70127971111460' 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 (11.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.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.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.3ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:11:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (210.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (216.0ms) Completed 500 Internal Server Error in 258ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `new_record?' for #): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=f.simple_fields_for(:lines){ |l| render("line_fields") if l.new_record? } 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128231668100' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128231668100' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128231668100' 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__2031766502260976451_70127971111460' 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.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 (4.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 (87.8ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:12:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (37.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (41.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 208ms (Views: 204.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:12:09 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:12:14 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:12:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (46.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (52.2ms) Completed 500 Internal Server Error in 100ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `gsub' for nil:NilClass): 44: .row 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: a href="#" data-html=document.lines.new; f.simple_fields_for(:lines){ |l| render("line_fields") if l.object.new_record? } 48: = t("actions.add_line") 49: 50: = f.input :payment_term_id, collection: @payment_terms temple (0.7.6) lib/temple/utils.rb:47:in `escape_html' temple (0.7.6) lib/temple/utils.rb:18:in `escape_html_safe' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:47:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128230063960' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128230063960' 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__2031766502260976451_70127971111460' 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 (9.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.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.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.4ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:12:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::InvoiceLine Load (0.6ms) 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", 15]] 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/_line_fields.html.slim (87.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (133.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (137.6ms) Completed 500 Internal Server Error in 198ms (ActiveRecord: 1.3ms) ActionView::Template::Error (undefined local variable or method `f' for #<#:0x007f9000868750>): 2: td.actions 3: a.delete href="#" 4: span.fa.fa-fw.fa-trash 5: = f.hidden_field :_destroy 6: 7: td.line-label 8: = f.text_area :label, rows: 1 /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_fields_html_slim__514125917639409762_70127972173260' 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/_form.html.slim:48:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128226491680' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128226491680' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128226491680' 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__2031766502260976451_70127971111460' 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.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/_trace.html.erb (5.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.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 (91.6ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:13:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (42.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.1ms) Completed 500 Internal Server Error in 89ms (ActiveRecord: 0.8ms) ActionView::Template::Error (wrong number of arguments (0 for 1..2)): 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: - document.lines.new 48: a href="#" data-html=f.simple_fields_for(:lines){ |lf| render("line_fields", f: lf) if l.object.new_record? } 49: = t("actions.add_line") 50: 51: = f.input :payment_term_id, collection: @payment_terms i18n (0.7.0) lib/i18n.rb:242:in `localize' actionview (4.2.4) lib/action_view/helpers/translation_helper.rb:88:in `localize' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block (2 levels) in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128197808140' 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:1925:in `block in fields_for_nested_model' 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:714:in `fields_for' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1910:in `block in fields_for_with_nested_attributes' 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' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1908:in `fields_for_with_nested_attributes' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:1582:in `fields_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128197808140' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128197808140' 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__2031766502260976451_70127971111460' 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.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/_trace.html.erb (4.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.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/template_error.html.erb within rescues/layout (84.9ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:13:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (48.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (53.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 193ms (Views: 188.7ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:13:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:13:41 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:14:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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/_form.html.slim (31.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.5ms) Completed 500 Internal Server Error in 80ms (ActiveRecord: 0.7ms) ActionView::Template::Error (wrong number of arguments (0 for 1)): 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: - document.lines.new 48: a href="#" data-html=h f.simple_fields_for(:lines){ |lf| render("line_fields", f: lf) if lf.object.new_record? } 49: = t("actions.add_line") 50: 51: = f.input :payment_term_id, collection: @payment_terms activesupport (4.2.4) lib/active_support/core_ext/string/output_safety.rb:21:in `html_escape' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128228669900' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128228669900' 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__2031766502260976451_70127971111460' 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 (14.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.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.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/template_error.html.erb within rescues/layout (88.9ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:14:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.4ms) 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 (61.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 231.3ms | ActiveRecord: 1.4ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:14:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:14:18 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:14:27 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (52.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (57.4ms) Completed 500 Internal Server Error in 100ms (ActiveRecord: 0.7ms) ActionView::Template::Error (undefined method `each_byte' for nil:NilClass): 45: .col-sm-6 46: / = link_to_add_association t("actions.add_line"), f, :lines, class: "btn btn-success btn-sm", id: "add-new-line", "data-association-insertion-node" => "#lines-table tbody", "data-association-insertion-method" => "append" 47: - document.lines.new 48: a href="#" data-html=URI.escape(f.simple_fields_for(:lines){ |lf| render("line_fields", f: lf) if lf.object.new_record? }) 49: = t("actions.add_line") 50: 51: = f.input :payment_term_id, collection: @payment_terms /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/rfc2396_parser.rb:307:in `block in escape' activesupport (4.2.4) lib/active_support/core_ext/string/output_safety.rb:233:in `gsub' activesupport (4.2.4) lib/active_support/core_ext/string/output_safety.rb:233:in `gsub' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/rfc2396_parser.rb:304:in `escape' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/common.rb:99:in `escape' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:48:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1811939896987145331_70128210326900' 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.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.0) 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:40: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__1811939896987145331_70128210326900' 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__2031766502260976451_70127971111460' 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.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 (5.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 (84.7ms) Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:15:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.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 (64.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 215.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:15:45 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:15:50 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:17:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (44.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 195ms (Views: 191.1ms | ActiveRecord: 0.9ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:17:00 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:17:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.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 (65.2ms) 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.2ms) Completed 200 OK in 267ms (Views: 262.4ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:17:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:17:07 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:17:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.6ms) 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 (59.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (64.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 210ms (Views: 205.5ms | ActiveRecord: 1.0ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:17:16 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:18:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (51.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (55.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 220ms (Views: 215.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:18:51 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:19:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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 (27.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (32.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 814ms (Views: 810.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:19:48 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:20:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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.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.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (35.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 681ms (Views: 676.2ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:20:11 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:20:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (40.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (44.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 717ms (Views: 712.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:20:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:20:35 +0100 Started GET "/dorsale/billing_machine/invoices/15/edit" for ::1 at 2015-11-23 15:20:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"15"} 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", 15]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 15]] 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 (32.0ms) 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 199ms (Views: 194.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:20:44 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-11-23 15:20:51 +0100 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.4ms) 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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (3.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 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (55.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 233ms (Views: 226.2ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 15:20:52 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (4.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (10.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (54.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 230ms (Views: 214.1ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:20:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (9.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (14.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (34.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (77.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (88.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 246ms (Views: 238.4ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 15:20:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (10.8ms) 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/quotations/_line_fields.html.slim (10.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 (72.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (83.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (93.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 261ms (Views: 257.2ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:22:41 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (8.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (65.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (72.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4237ms (Views: 4232.8ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:22:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:22:46 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:23:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (52.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (59.6ms) Completed 500 Internal Server Error in 1531ms (ActiveRecord: 1.1ms) ActionView::Template::Error (The line was indented 2 levels deeper than the previous line.): 4: meta charset="utf-8" 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: app/assets/stylesheets/application.sass:5 app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__1570132008084239460_70128130149880' 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.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 (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.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 (81.1ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:24:05 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (46.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4486ms (Views: 4482.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:24:10 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:24:23 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.4ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (55.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (62.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4528ms (Views: 4523.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:24:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:24:28 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 15:24:38 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (6.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 (46.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (52.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/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 200ms (Views: 194.4ms | ActiveRecord: 1.1ms) Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:24:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"51//BgCp4zdh0uVM2VlrdwCq9PG6cKVj6tM4g1KmGwNFIEX1UAKkdLou58JbB5M84vjMe6iwJOCN8I19gGbpew==", "quotation"=>{"id_card_id"=>"1", "label"=>"abcdef", "date"=>"20/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00", "id"=>"1"}}, "payment_term_id"=>"", "state"=>"pending", "comments"=>"fsdofusdofuqsdf\r\nfqsd\r\nf\r\nqsdf\r\n", "commercial_discount"=>"0,00", "vat_rate"=>"20,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/edit", "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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "comments" = ?, "commercial_discount" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["comments", "fsdofusdofuqsdf\r\nfqsd\r\nf\r\nqsdf\r\n"], ["commercial_discount", 0.0], ["updated_at", "2015-11-23 14:24:44.509614"], ["id", 1]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 0.0], ["unit_price", 0.0], ["vat_rate", 20.0], ["updated_at", "2015-11-23 14:24:44.512290"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 27ms (ActiveRecord: 4.2ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 15:24:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (33.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 174ms (Views: 168.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:24:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:24:45 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:24:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 211ms (Views: 206.9ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:25:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.5ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (80.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (87.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 258ms (Views: 253.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:25:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:25:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:25:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:25:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:25:31 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:25:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.4ms) 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/quotations/show.html.slim within layouts/application (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 220ms (Views: 215.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:25:45 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 15:25:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (69.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (76.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 229ms (Views: 224.8ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 15:25:53 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 15:25:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 15:25:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 15:25:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 15:25:54 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 16:02:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1008.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.8ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (1043.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1312ms (Views: 1205.9ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:03:20 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (20.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (89.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (96.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 267ms (Views: 261.0ms | ActiveRecord: 2.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:03:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:03:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:03:21 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:03:21 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 217ms (Views: 213.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:03:22 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:04:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.0ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (68.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (76.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 224ms (Views: 217.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:04:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:04:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:04:56 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:04:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.0ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 216ms (Views: 212.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:04:57 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:06:32 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 333ms (Views: 237.9ms | ActiveRecord: 3.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:06:33 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:06:48 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (78.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (85.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 252ms (Views: 247.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:06:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:06:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:06:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:06:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:06:49 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:06:50 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 205.7ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:06:50 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:10:12 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (72.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (79.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 255ms (Views: 250.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:10:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:10:13 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:10:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (59.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (67.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 205.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:10:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:10:20 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:15:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (64.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (70.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 229ms (Views: 224.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:15:20 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:16:06 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (69.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (78.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 255ms (Views: 250.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:16:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:16:07 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:16:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (60.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (67.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 252ms (Views: 247.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:16:16 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:16:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.0ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (51.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 194.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:16:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:16:56 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 16:19:45 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (32.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 188.5ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-11-23 16:19:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#new 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::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_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.5ms) 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/quotations/_line_fields.html.slim (7.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 (55.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (63.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (73.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 275ms (Views: 247.9ms | ActiveRecord: 1.3ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."id" ASC LIMIT 1 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-23 16:32:20 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 318ms (Views: 224.0ms | ActiveRecord: 2.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:32:20 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:32:21 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (69.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (77.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 240ms (Views: 234.3ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:32:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (63.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 202ms (Views: 198.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:32:29 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:32:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (88.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (96.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 261ms (Views: 256.5ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:32:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:32:46 +0100 Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."id" ASC LIMIT 1 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:42:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (8.4ms) Dorsale::Alexandrie::Attachment Load (0.4ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (28.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (83.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (90.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 324ms (Views: 241.1ms | ActiveRecord: 3.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:42:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:42:19 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:42:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.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 213ms (Views: 208.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:42:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:42:20 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:42:37 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.2ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (55.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (62.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 304ms (Views: 216.7ms | ActiveRecord: 3.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:42:38 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:43:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.9ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (56.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 275ms (Views: 194.7ms | ActiveRecord: 3.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:43:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:43:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:43:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:43:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:43:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:43:26 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:44:09 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show 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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (59.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (67.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 323ms (Views: 215.7ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:44:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:44:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:44:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:44:10 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:44:56 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (1.0ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (56.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (63.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 309ms (Views: 217.8ms | ActiveRecord: 3.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:44:56 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:47:00 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (61.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (69.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 302ms (Views: 212.2ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:47:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:47:01 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:47:55 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.8ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (20.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (60.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (68.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 318ms (Views: 221.6ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:47:56 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:49:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (67.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (74.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 206.1ms | ActiveRecord: 3.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:49:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:49:40 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-23 16:49:49 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (69.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (76.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 258ms (Views: 253.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:49:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:49:50 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 16:49:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (8.6ms) 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/quotations/_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 (92.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (98.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (104.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 266ms (Views: 260.8ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-23 16:50:09 +0100 Processing by Dorsale::BillingMachine::QuotationsController#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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_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/quotations/_line_fields.html.slim (8.7ms) 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/quotations/_line_fields.html.slim (9.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 (72.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (78.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (86.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 230.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-23 16:50:10 +0100 Started GET "/" for ::1 at 2015-11-26 14:19:13 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.6ms) Completed 200 OK in 6248ms (Views: 6236.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:19:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:19:20 +0100 Started GET "/dorsale/users" for ::1 at 2015-11-26 14:19:23 +0100 Processing by Dorsale::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (18.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (970.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.8ms) Completed 200 OK in 1412ms (Views: 1401.8ms | ActiveRecord: 0.8ms) Started GET "/users/sign_in" for ::1 at 2015-11-26 14:19:24 +0100 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (3.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (67.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 268ms (Views: 262.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for ::1 at 2015-11-26 14:19:32 +0100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"N0UN7ccTtrN/L2DRy6q6wQD9EYhUhQAhNjZAgZOtaOqVOrcel7jx8KTTYl9J9EKK4q8pAkZFgaJRFfV/QW2akg==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "benoit.martin-chave@agilidee.com"]] Completed 401 Unauthorized in 110ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"N0UN7ccTtrN/L2DRy6q6wQD9EYhUhQAhNjZAgZOtaOqVOrcel7jx8KTTYl9J9EKK4q8pAkZFgaJRFfV/QW2akg==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 216ms (Views: 136.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:19:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:19:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:19:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:19:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:19:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:19:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:19:33 +0100  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" Started POST "/users/sign_in" for ::1 at 2015-11-26 14:20:01 +0100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YVxnKH+vqIjft81Mc4vj+/BdLsBxOrPhdWBaJBVS1nrDI93bLwTvywRLz8Lx1RuwEg8WSmP6MmISQ+/ax5IkAg==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "benoit.martin-chave@agilidee.com"]]  (0.2ms) begin transaction SQL (0.7ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", "2015-11-26 13:20:01.259503"], ["updated_at", "2015-11-26 13:20:01.260893"], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2015-11-26 13:20:01.267878"], ["sign_in_count", 2], ["updated_at", "2015-11-26 13:20:01.269521"], ["id", 1]]  (1.4ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 193ms (ActiveRecord: 4.0ms) Started GET "/" for ::1 at 2015-11-26 14:20:01 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 112ms (Views: 111.0ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:20:01 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-11-26 14:20:03 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (16.4ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (20.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (82.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 254ms (Views: 229.0ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:20:05 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.4ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (15.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (77.2ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (99.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (188.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (199.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 369ms (Views: 357.7ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:21:12 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (20.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (49.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (56.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 205ms (Views: 199.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:21:13 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:21:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (55.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (61.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 286ms (Views: 201.2ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:21:26 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:21:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:21:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:21:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:21:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:21:27 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:21:35 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (53.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 195ms (Views: 189.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:21:36 +0100 Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:21:47 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.html.erb (1.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/routes/_route.html.erb (1.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/routes/_route.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/routes/_table.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.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/routing_error.html.erb within rescues/layout (170.4ms) Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:21:47 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.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/routes/_route.html.erb (1.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/routes/_route.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/routes/_table.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/_request_and_response.html.erb (1.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/routing_error.html.erb within rescues/layout (143.6ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:21:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (52.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 228ms (Views: 223.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:21:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:21:51 +0100 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddName (20151126132304)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "dorsale_alexandrie_attachment" ADD "name" varchar SQLite3::SQLException: no such table: dorsale_alexandrie_attachment: ALTER TABLE "dorsale_alexandrie_attachment" ADD "name" varchar  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddName (20151126132304)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "name" varchar Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "18956018963-472016874-billet.pdf"], ["id", 1]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151126132304"]]  (2.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:33:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.4ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (25.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (71.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (1020.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1885ms (Views: 1787.1ms | ActiveRecord: 3.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:33:20 +0100 Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:33:22 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.html.erb (2.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/routes/_route.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/routes/_route.html.erb (5.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/routes/_table.html.erb (1.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.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/routing_error.html.erb within rescues/layout (168.2ms) Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:33:22 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.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/routes/_route.html.erb (1.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/routes/_route.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/routes/_table.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/_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/routing_error.html.erb within rescues/layout (150.7ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:34:04 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.0ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.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 557ms (Views: 551.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:34:05 +0100 Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:34:07 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.html.erb (1.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/routes/_route.html.erb (1.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/routes/_route.html.erb (4.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/routes/_table.html.erb (1.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.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/routing_error.html.erb within rescues/layout (149.6ms) Started GET "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:34:07 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/alexandrie/attachments/1"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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/_trace.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/routes/_route.html.erb (1.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/routes/_route.html.erb (4.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/routes/_table.html.erb (1.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.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/routing_error.html.erb within rescues/layout (150.7ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:34:17 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (51.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 204ms (Views: 198.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:34:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:34:18 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:34:19 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (2.5ms) Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 0.4ms) Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:34:19 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (2.8ms) Completed 200 OK in 13ms (Views: 9.5ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:34:29 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (47.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 574ms (Views: 569.8ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:34:30 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:34:36 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (0.1ms) Completed 200 OK in 52ms (Views: 48.1ms | ActiveRecord: 0.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:35:18 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (48.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 189ms (Views: 184.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:35:18 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:35:20 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (3.7ms) Completed 200 OK in 53ms (Views: 50.1ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:35:32 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (21.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (54.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 234ms (Views: 228.5ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:35:32 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:35:33 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (4.3ms) Completed 200 OK in 57ms (Views: 53.7ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:35:52 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.6ms) Dorsale::Alexandrie::Attachment Load (0.6ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 208ms (Views: 203.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:35:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:35:53 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:35:56 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (4.4ms) Completed 200 OK in 56ms (Views: 52.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:36:01 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:37:10 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 194.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:37:11 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:37:12 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (4.6ms) Completed 200 OK in 54ms (Views: 50.8ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:37:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 205ms (Views: 199.7ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:37:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:37:20 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:37:22 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (4.6ms) Completed 200 OK in 55ms (Views: 51.5ms | ActiveRecord: 0.2ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:37:29 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"N0jk3Lt6yX72fOZW+G4pI01yBVBrKo9JeAc+zcQeR5Hn5WwcW87balIUpU0SMJZgNUzslHqae3HJEvlS45AROg==", "alexandrie_attachment"=>{"name"=>"billet.pdf"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Completed 400 Bad Request in 3ms (ActiveRecord: 0.2ms) ActionController::ParameterMissing (param is missing or the value is empty: attachment): actionpack (4.2.4) lib/action_controller/metal/strong_parameters.rb:251:in `require' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/alexandrie/attachments_controller.rb:84:in `attachment_params_for_update' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/alexandrie/attachments_controller.rb:33:in `update' 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:38: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 (6.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 (2.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 (2.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/diagnostics.html.erb within rescues/layout (73.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:37:39 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:37:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (50.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (57.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 219ms (Views: 214.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:37:53 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:37:54 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (4.4ms) Completed 200 OK in 56ms (Views: 53.3ms | ActiveRecord: 0.3ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:37:58 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zXgKlZkMa4KKvpSf0gZDmWo05zYoELLmxtoB4QDzEbEd1YJVebh5li7W14Q4WPzaEgoO8jmgRt53z8Z+J31HGg==", "attachment"=>{"name"=>"billet.pdf"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "billet.pdf"], ["id", 1]]  (2.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:37:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.1ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (38.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 189ms (Views: 185.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:37:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:37:59 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:38:27 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.0ms) Completed 200 OK in 53ms (Views: 49.4ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:38:30 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.9ms) 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/quotations/show.html.slim within layouts/application (51.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 193.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:38:30 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:41:11 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (8.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (8.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (28.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (77.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (86.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 389ms (Views: 268.8ms | ActiveRecord: 4.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:41:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:41:12 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:41:14 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.4ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.6ms) Completed 200 OK in 54ms (Views: 48.6ms | ActiveRecord: 0.5ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:41:25 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xOYIK/UBAgmQ9OmWj/AgRhcbEBpKaTTW69t46VuwWtYUS4DrFbUQHTScqo1lrp8FbyX53lvZwO5azr92fD4MfQ==", "attachment"=>{"name"=>""}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", ""], ["id", 1]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 12ms (ActiveRecord: 3.4ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:41:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (38.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (46.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 192ms (Views: 187.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:41:25 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:42:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) 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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (70.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (77.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 330ms (Views: 235.6ms | ActiveRecord: 3.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:42:20 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:42:21 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.2ms) Completed 200 OK in 51ms (Views: 44.8ms | ActiveRecord: 0.4ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:42:22 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8J8/hOIBh8v3oZzQU8CBEHHwuFuhokw2VoIBGT+d9AkgMrdEArWV31PJ38u5nj5TCc5Rn7ASuA7nl8aGGBOiog==", "attachment"=>{"name"=>""}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.3ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "18956018963-472016874-billet.pdf"], ["id", 1]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 16ms (ActiveRecord: 4.1ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:42:22 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (12.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (46.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 210ms (Views: 203.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:42:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:42:23 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:43:16 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 308ms (Views: 209.6ms | ActiveRecord: 3.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:43:17 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:43:20 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.4ms) Completed 200 OK in 53ms (Views: 49.7ms | ActiveRecord: 0.3ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:43:31 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"13f28+abTof76I2mcpazw6gfqyXLef11FT4g2j1DlJcH2n4zBi9ck1+Azr2YyAyA0CFC4drJCU2kK+dFGs3CPA==", "attachment"=>{"name"=>"Mon super billet"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "Mon super billet"], ["id", 1]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 15ms (ActiveRecord: 3.5ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:43:31 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (48.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 205ms (Views: 197.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:43:32 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:43:38 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:43:53 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.0ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (143.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (154.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (178.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (184.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 344ms (Views: 339.2ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:43:53 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:43:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:43:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:43:54 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:43:57 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:57:26 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (5.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 303ms (Views: 205.3ms | ActiveRecord: 3.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:57:26 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:57:26 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:57:26 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:57:26 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:57:27 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:57:40 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.1ms) Completed 200 OK in 62ms (Views: 54.9ms | ActiveRecord: 0.3ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 14:57:47 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KaN+5fNGhzKCdkiG4cuR5qWoD/CjFsDA7MfPZCLZYGb5DvYlE/KVJiYeC50LlS6l3ZbmNLKmNPhd0gj7BVc2zQ==", "attachment"=>{"name"=>"Mon super billet"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:57:48 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (13.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (51.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 196ms (Views: 189.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:57:48 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:57:48 +0100 Started POST "/dorsale/alexandrie/attachments" for ::1 at 2015-11-26 14:58:27 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"dAucRvHYIgiUqtDiEWMmB51A3G7MPn0tLeAWfsWbttmkphSGEWwwHDDCk/n7PZlE5X41qt2OiRWc9dHh4hXgcg==", "attachment"=>{"attachable_id"=>"1", "attachable_type"=>"Dorsale::BillingMachine::Quotation", "file"=>#, @original_filename="18956018963-472016874-billet.pdf", @content_type="application/pdf", @headers="Content-Disposition: form-data; name=\"attachment[file]\"; filename=\"18956018963-472016874-billet.pdf\"\r\nContent-Type: application/pdf\r\n">}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "dorsale_alexandrie_attachments" ("attachable_id", "attachable_type", "file", "sender_id", "sender_type", "name") VALUES (?, ?, ?, ?, ?, ?) [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"], ["file", "18956018963-472016874-billet.pdf"], ["sender_id", 1], ["sender_type", "User"], ["name", "18956018963-472016874-billet.pdf"]]  (0.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 12ms (ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:58:27 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 252ms (Views: 248.0ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:58:27 +0100 Started GET "/dorsale/alexandrie/attachments/2/edit" for ::1 at 2015-11-26 14:58:31 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"2"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.0ms) Completed 200 OK in 53ms (Views: 49.7ms | ActiveRecord: 0.2ms) Started PATCH "/dorsale/alexandrie/attachments/2" for ::1 at 2015-11-26 14:58:35 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yX3p/WtwK6yaGidYiNCqXOV8uO2Fob47aqM64+G08C8Z0GE9i8Q5uD5yZENijhUfnUJRKZQRSgPbtv18xjqmhA==", "attachment"=>{"name"=>"Coucou"}, "id"=>"2"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "Coucou"], ["id", 2]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 14:58:35 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.7ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (52.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 201ms (Views: 196.5ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 14:58:36 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 14:58:48 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.4ms) Completed 200 OK in 51ms (Views: 45.8ms | ActiveRecord: 0.5ms) Started GET "/dorsale/alexandrie/attachments/2/edit" for ::1 at 2015-11-26 14:58:52 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"2"} Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.0ms) Completed 200 OK in 60ms (Views: 54.6ms | ActiveRecord: 0.5ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:06:59 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (8.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (22.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (55.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (63.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 215.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:06:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:07:00 +0100 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:08:27 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (20.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (957.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1192ms (Views: 1098.9ms | ActiveRecord: 3.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:08:29 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:09:30 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.2ms) Completed 200 OK in 50ms (Views: 46.4ms | ActiveRecord: 0.3ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:09:59 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qsxg4XSEMASapnAWivL+WOJlN21MzrrWK2Y4s1jmyt2SYeghlDAiED7OMw1grEEbmlveqV1+Tu6ac/8sf2icdg==", "attachment"=>{"name"=>"Mon super billet"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 20ms (ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:09:59 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.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/quotations/show.html.slim within layouts/application (51.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 213ms (Views: 207.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:09:59 +0100 Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-11-26 15:10:01 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["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.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::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (19.6ms) 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/quotations/_line_fields.html.slim (13.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 (134.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (143.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (153.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 352ms (Views: 344.6ms | ActiveRecord: 2.2ms) Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:10:09 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.6ms) Completed 200 OK in 49ms (Views: 45.4ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:10:57 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (18.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (46.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 208ms (Views: 202.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:10:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:10:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:10:58 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:11:00 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (5.5ms) Completed 200 OK in 57ms (Views: 53.8ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:11:15 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (2.7ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (25.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (53.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (61.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 229ms (Views: 224.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:11:16 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:11:17 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (5.8ms) Completed 200 OK in 54ms (Views: 50.7ms | ActiveRecord: 0.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:11:32 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (9.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.8ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (54.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 240ms (Views: 233.4ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:11:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:11:33 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:11:34 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (5.8ms) Completed 200 OK in 54ms (Views: 50.1ms | ActiveRecord: 0.2ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:11:38 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gV1YYXciBKzKR12Tf0PijFK2259lR1SSjnZsbEI3mGpR8NChl5YWuG4vHoiVHV3PKogyW3T3oKo/Y6vzZbnOwQ==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_alexandrie_attachments" SET "name" = ? WHERE "dorsale_alexandrie_attachments"."id" = ? [["name", "Mon super billet !"], ["id", 1]]  (2.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:11:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 223ms (Views: 218.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:11:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:11:45 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:20:34 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.1ms) Completed 200 OK in 52ms (Views: 49.2ms | ActiveRecord: 0.2ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:21:54 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ynhwtRUV881MIa3uFOrIi0Prp0UKng105diGNOg3hCoa1fh19aHh2ehJ7vX+tHfIO9VOgRsu+UxUzUGrz7nSgQ==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 15ms (ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:21:54 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (60.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 276ms (Views: 270.2ms | ActiveRecord: 1.1ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:21:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:21:55 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddTimestamps (20151126142254)  (0.2ms) begin transaction  (0.2ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "created_at" datetime NOT NULL SQLite3::SQLException: Cannot add a NOT NULL column with default value NULL: ALTER TABLE "dorsale_alexandrie_attachments" ADD "created_at" datetime NOT NULL  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddTimestamps (20151126142254)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "created_at" datetime  (0.2ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "updated_at" datetime SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151126142254"]]  (3.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:26:42 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (8.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (22.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (63.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (71.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 328ms (Views: 222.6ms | ActiveRecord: 4.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:26:42 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:26:43 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:26:44 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.2ms) Completed 200 OK in 55ms (Views: 49.7ms | ActiveRecord: 0.3ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:26:45 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HGfy0KaeNtmNJHnF1xFeHieM86AWoOAqq44Ml1Og85PMynoQRiokzSlMOt49T+FdX7IaZAcQFBIam8sIdC6lOA==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:26:45 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) 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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 212ms (Views: 207.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:26:45 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:26:45 +0100 Dorsale::Alexandrie::Attachment Load (2.8ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:27:30 +0100 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1079.0ms) Completed 200 OK in 1184ms (Views: 1132.8ms | ActiveRecord: 1.4ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:27:33 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TVeKJGA3vRosCu16eaF604iNPRnJsEZsSGYnOVs6t/Gd+gLkgIOvDohirmGT/8WQ8LPU3dgAslT5c+CmfLThWg==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 57ms (ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:27:33 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (16.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (25.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (64.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (147.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (223.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (320.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (338.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (8.1ms) Completed 200 OK in 942ms (Views: 933.4ms | ActiveRecord: 1.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:27:34 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:27:34 +0100 Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:27:56 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 199ms (Views: 193.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:27:56 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:27:59 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.4ms) Completed 200 OK in 48ms (Views: 44.3ms | ActiveRecord: 0.2ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:28:01 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RvzpcDCNHYozPSBDT4HSqCIttzYfQbiiVrFrFcl1TaKWUWGw0DkPnpdVY1il323rWhNe8g7xTJrnpKyK7vsbCQ==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:28:01 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (15.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (48.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 220ms (Views: 213.2ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:28:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:28:01 +0100 Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddTimestamps (20151126142254)  (0.1ms) begin transaction  (0.8ms) CREATE TEMPORARY TABLE "adorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (0.1ms) SELECT * FROM "dorsale_alexandrie_attachments"  (0.1ms) INSERT INTO "adorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at","updated_at") VALUES (1, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Mon super billet !', NULL, NULL)  (0.1ms) INSERT INTO "adorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at","updated_at") VALUES (2, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Coucou', NULL, NULL)  (0.6ms) DROP TABLE "dorsale_alexandrie_attachments"  (0.2ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime)   (0.1ms) SELECT * FROM "adorsale_alexandrie_attachments"  (0.1ms) INSERT INTO "dorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at") VALUES (1, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Mon super billet !', NULL)  (0.1ms) INSERT INTO "dorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at") VALUES (2, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Coucou', NULL)  (0.5ms) DROP TABLE "adorsale_alexandrie_attachments"  (0.1ms) CREATE TEMPORARY TABLE "adorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime)  (0.1ms) SELECT * FROM "dorsale_alexandrie_attachments"  (0.1ms) INSERT INTO "adorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at") VALUES (1, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Mon super billet !', NULL)  (0.1ms) INSERT INTO "adorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name","created_at") VALUES (2, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Coucou', NULL)  (0.4ms) DROP TABLE "dorsale_alexandrie_attachments"  (0.3ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar)   (0.1ms) SELECT * FROM "adorsale_alexandrie_attachments"  (0.1ms) INSERT INTO "dorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name") VALUES (1, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Mon super billet !')  (0.1ms) INSERT INTO "dorsale_alexandrie_attachments" ("id","attachable_id","attachable_type","file","sender_id","sender_type","name") VALUES (2, 1, 'Dorsale::BillingMachine::Quotation', '18956018963-472016874-billet.pdf', 1, 'User', 'Coucou')  (0.1ms) DROP TABLE "adorsale_alexandrie_attachments" SQL (0.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20151126142254"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DorsaleAlexandrieAttachmentsAddTimestamps (20151126142254)  (0.1ms) begin transaction DEPRECATION WARNING: `#add_timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/benoit/www/agilidee/dorsale/db/migrate/20151126142254_dorsale_alexandrie_attachments_add_timestamps.rb:6)  (0.5ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "created_at" datetime  (0.2ms) ALTER TABLE "dorsale_alexandrie_attachments" ADD "updated_at" datetime SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151126142254"]]  (2.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:29:09 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (6.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (19.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (58.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 308ms (Views: 217.7ms | ActiveRecord: 3.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:29:10 +0100 Started GET "/dorsale/alexandrie/attachments/1/edit" for ::1 at 2015-11-26 15:29:11 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/edit.html.slim (1.7ms) Completed 200 OK in 54ms (Views: 49.1ms | ActiveRecord: 0.5ms) Started PATCH "/dorsale/alexandrie/attachments/1" for ::1 at 2015-11-26 15:29:12 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ECkVaJJ9mHXCrLrlvjJ7sA/h/j2Zr6t87NRwiZ/Gk5XAhJ2ocsmKYWbE+f5UbMTzd98X+YgfX0RdwbcWuEjFPg==", "attachment"=>{"name"=>"Mon super billet !"}, "id"=>"1"} Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:29:12 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 203ms (Views: 194.9ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:29:12 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:29:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:29:13 +0100 Started POST "/dorsale/alexandrie/attachments" for ::1 at 2015-11-26 15:29:17 +0100 Processing by Dorsale::Alexandrie::AttachmentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pQOvNh3iTwaIkrSmce3rxkOZVhpeiMfAdKVRHApYM4Z1rif2/VZdEiz6972bs1SFO6e/3k84M/jFsJaDLdZlLQ==", "attachment"=>{"attachable_id"=>"1", "attachable_type"=>"Dorsale::BillingMachine::Quotation", "file"=>#, @original_filename="alt-click", @content_type="application/octet-stream", @headers="Content-Disposition: form-data; name=\"attachment[file]\"; filename=\"alt-click\"\r\nContent-Type: application/octet-stream\r\n">}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "dorsale_alexandrie_attachments" ("attachable_id", "attachable_type", "file", "sender_id", "sender_type", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"], ["file", "alt-click"], ["sender_id", 1], ["sender_type", "User"], ["name", "alt-click"], ["created_at", "2015-11-26 14:29:17.561230"], ["updated_at", "2015-11-26 14:29:17.561230"]]  (2.8ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations/1 Completed 302 Found in 15ms (ActiveRecord: 3.6ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-11-26 15:29:17 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["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::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] CACHE (0.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_details.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.3ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (55.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (63.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 229ms (Views: 222.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:29:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:29:18 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:29:18 +0100 Dorsale::Alexandrie::Attachment Load (2.8ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" Started GET "/" for ::1 at 2015-11-26 15:38:37 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (3.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 161ms (Views: 157.5ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:38:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:38:38 +0100 Started GET "/dorsale/customer_vault/people" for ::1 at 2015-11-26 15:38:40 +0100 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-11-26 15:38:40 +0100 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (898.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.7ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (961.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 1174ms (Views: 1113.8ms | ActiveRecord: 0.5ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2015-11-26 15:38:42 +0100 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC 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" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (24.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (76.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 276ms (Views: 254.9ms | ActiveRecord: 1.3ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2015-11-26 15:38:43 +0100 Processing by Dorsale::CustomerVault::IndividualsController#new as HTML ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (68.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (96.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 343ms (Views: 310.0ms | ActiveRecord: 1.0ms) Started POST "/dorsale/customer_vault/individuals" for ::1 at 2015-11-26 15:38:49 +0100 Processing by Dorsale::CustomerVault::IndividualsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"56udXtlk5SWzaTEK0PRDj8LV60b5If4yWpgvDHqR+3M3BhWeOdD3MRcBchE6qvzMuusCguiRCgrrjeiTXR+t2A==", "individual"=>{"first_name"=>"Alice", "last_name"=>"Alisson", "tag_list"=>[""], "email"=>"", "title"=>"", "twitter"=>"", "context"=>"", "phone"=>"", "fax"=>"", "mobile"=>"", "skype"=>"", "www"=>"", "address_attributes"=>{"street"=>"", "street_bis"=>"", "zip"=>"", "city"=>"", "country"=>""}}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/new"} ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "title", "twitter", "www", "context", "phone", "fax", "mobile", "skype", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Alice"], ["last_name", "Alisson"], ["email", ""], ["title", ""], ["twitter", ""], ["www", ""], ["context", ""], ["phone", ""], ["fax", ""], ["mobile", ""], ["skype", ""], ["created_at", "2015-11-26 14:38:49.858061"], ["updated_at", "2015-11-26 14:38:49.858061"]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "zip", "city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", ""], ["street_bis", ""], ["zip", ""], ["city", ""], ["country", ""], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 1], ["created_at", "2015-11-26 14:38:49.862274"], ["updated_at", "2015-11-26 14:38:49.862274"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]]  (2.7ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 36ms (ActiveRecord: 4.4ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:38:49 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (8.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (11.6ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (28.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (37.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.2ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (29.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (14.4ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (29.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (37.0ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (6.5ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (13.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (33.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (46.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (213.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (223.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 376ms (Views: 369.2ms | ActiveRecord: 2.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:38:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:38:50 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:38:55 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jetKOr+ye3s1lIBXCxP2hQDOx8QU6aQgRbLn24A9hQ5dRsL6XwZpb5H8w0zhTUnGePAuAAVZUBj0pyBEp7PTpQ==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"azezaeaze"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "azezaeaze"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:38:55.064108"], ["updated_at", "2015-11-26 14:38:55.064108"]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 18ms (ActiveRecord: 3.9ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:38:55 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.6ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (10.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (15.8ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (3.7ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (23.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (41.9ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (13.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (19.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (118.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (123.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 292ms (Views: 287.1ms | ActiveRecord: 1.6ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:38:55 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:38:55 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:38:59 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9kVQJWbnLzPnkcjbwEridjNcZDzH+hl6jNCxLlyloNQm6NjlhlM9J0P5i8AqFF01S2KN+NZK7UI9xXaxeyv2fw==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"222222"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "222222"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:38:59.873999"], ["updated_at", "2015-11-26 14:38:59.873999"]]  (2.4ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 19ms (ActiveRecord: 3.6ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:38:59 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (11.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (16.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (3.2ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (24.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (37.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (41.8ms) CACHE (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (4.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (20.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (133.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (137.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 312ms (Views: 304.4ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:00 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:02 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nvqWhPP1Hi77eKNhhrSuKny4x6LmXUIaJvjGaaTXLGBOVx5EE0EMOl8Q4Hps6hFpBIYuZvfttiKX7QH2g1l6yw==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"333333"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "333333"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:02.979721"], ["updated_at", "2015-11-26 14:39:02.979721"]]  (0.9ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 18ms (ActiveRecord: 2.3ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:02 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (10.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (15.2ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.7ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (34.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (49.8ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (12.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (17.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (124.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (130.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 290ms (Views: 285.1ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:03 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:06 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"LNNZ0YegGskacAvYsDazPSgXlG7GmITMx99nR14eUH38ftERZxQI3b4YSMNaaAx+UCl9qtcocPR2yqDYeZAG1g==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"4444444"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "4444444"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:06.262880"], ["updated_at", "2015-11-26 14:39:06.262880"]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 20ms (ActiveRecord: 4.1ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:06 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.8ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (16.0ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.7ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (58.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (62.5ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (12.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (18.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (138.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (144.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 309ms (Views: 302.8ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:07 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:07 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:12 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EPB5QLm3U/Ucv8R+QzI/YH6bBMziN5vNUQNIfoq+4JPAXfGAWQNB4bjXh2WpbIAjBqXtCPOHb/XgFo/hrTC2OA==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"55555555"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "55555555"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:12.451111"], ["updated_at", "2015-11-26 14:39:12.451111"]]  (3.1ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 14ms (ActiveRecord: 3.8ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:12 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.6ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (11.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (15.3ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (5.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.9ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (59.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (71.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (76.2ms) CACHE (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (157.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (162.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 339ms (Views: 334.8ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:13 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:16 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"l1p1BDy20ECoUnISbzKQr8YGd4DJNsuEVstomdUd7DlH9/3E3ALCVAw6MQmFbC/svjieRNiGP7zn3q8G8pO6kg==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"6666666"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "6666666"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:16.106440"], ["updated_at", "2015-11-26 14:39:16.106440"]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 20ms (ActiveRecord: 4.0ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:16 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (10.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (16.1ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.7ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (10.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.0ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.0ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (78.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (92.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (96.9ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (14.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (19.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (178.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (183.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 343ms (Views: 338.7ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:16 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:18 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"18bVDZhu5PGjz6XzIT55T890vAAT9lS/ws/MpUEbG5MHa13NeNr25Qen5ujLYMYMt0pVxAJGoIdz2gs6ZpVNOA==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"77777"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "77777"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:18.782785"], ["updated_at", "2015-11-26 14:39:18.782785"]]  (3.1ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 17ms (ActiveRecord: 4.0ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:18 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (1.2ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (15.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (20.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.8ms) Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.0ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (84.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (97.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (102.1ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (13.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (19.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (187.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (192.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 353ms (Views: 345.0ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:19 +0100 Started POST "/dorsale/comments" for ::1 at 2015-11-26 15:39:22 +0100 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BDsTKws/6qfxaWbtVOTTDmFKGBHOZh5imyNAkflBNHHUlpvr64v4s1UBJfa+umxNGXTx1d/W6loqNocO3s9i2g==", "comment"=>{"commentable_id"=>"1", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"8888"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 1], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "8888"], ["author_id", 1], ["author_type", "User"], ["created_at", "2015-11-26 14:39:22.035990"], ["updated_at", "2015-11-26 14:39:22.035990"]]  (2.3ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 10ms (ActiveRecord: 2.9ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:22 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (14.4ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (3.0ms) Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (101.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (114.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (118.0ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (16.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (22.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (196.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (201.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 377ms (Views: 372.1ms | ActiveRecord: 1.9ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:22 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:28 +0100 Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:42 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (8.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (12.7ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (3.7ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (93.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (106.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (111.7ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (13.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (18.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (185.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (190.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 355ms (Views: 350.0ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:42 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:43 +0100 Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:39:48 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (8.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (12.3ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (3.4ms) Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (83.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (96.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (100.6ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (17.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (169.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (173.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 329ms (Views: 324.7ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:39:48 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:39:48 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:39:49 +0100 Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-11-26 15:40:13 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (0.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (8.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (13.0ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (4.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (2.9ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.0ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.3ms) CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (80.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (92.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (97.5ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (2.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (12.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (16.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (167.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (171.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 325ms (Views: 320.0ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-11-26 15:40:14 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-11-26 15:40:23 +0100