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)