(2.7ms) DROP TABLE "dorsale_addresses"  (1.1ms) 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, "addressable_id" integer, "addressable_type" varchar)  (1.5ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.1ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.6ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.6ms) 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)  (1.7ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.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, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (2.8ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.5ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.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'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.0ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.0ms) 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)  (1.5ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.0ms) 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, "vat_rate" decimal)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (2.5ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (1.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'   (1.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'  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.4ms) DROP TABLE "dorsale_comments"  (1.0ms) 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, "author_type" varchar)   (1.5ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)   (1.8ms) DROP TABLE "dorsale_customer_vault_individuals"  (3.3ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)   (3.1ms) DROP TABLE "dorsale_customer_vault_links"  (1.0ms) 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)   (1.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.6ms)  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'   (2.3ms) 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'  (1.4ms) 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.2ms) 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'  (2.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (2.1ms) DROP TABLE "dorsale_flyboy_folders"  (1.6ms) 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)   (1.2ms) 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'   (1.2ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.7ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.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, "author_type" varchar, "author_id" integer)  (1.2ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (2.7ms) DROP TABLE "dorsale_flyboy_tasks"  (1.5ms) 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, "owner_type" varchar, "owner_id" integer)   (2.5ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.5ms)  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'   (3.2ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (2.7ms) DROP TABLE "dummy_models"  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.0ms) DROP TABLE "taggings"  (1.1ms) 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)  (1.2ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (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'  (1.4ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.7ms) DROP TABLE "tags"  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (1.0ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (2.4ms) DROP TABLE "users"  (1.2ms) 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, "is_active" boolean, "avatar" varchar)  (2.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.2ms) 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'  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (1.0ms) SELECT version FROM "schema_migrations"  (1.6ms) DROP TABLE "dorsale_addresses"  (1.0ms) 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, "addressable_id" integer, "addressable_type" varchar)  (1.5ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.1ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.4ms) DROP TABLE "dorsale_billing_machine_id_cards"  (2.6ms) 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)  (1.9ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.7ms) 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, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.8ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (5.8ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.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'  (1.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.2ms) 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'   (1.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.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.3ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.3ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.0ms) 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)  (1.8ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.0ms) 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, "vat_rate" decimal)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (2.9ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.4ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (3.8ms) 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'   (1.4ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.6ms)  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.4ms) 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'  (2.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.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.3ms) 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'  (1.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.4ms) DROP TABLE "dorsale_comments"  (1.0ms) 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, "author_type" varchar)   (1.7ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)   (1.1ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.2ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)   (2.9ms) DROP TABLE "dorsale_customer_vault_links"  (1.5ms) 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)   (2.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.6ms)  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'   (3.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (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.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'  (1.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'  (1.3ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (2.2ms) DROP TABLE "dorsale_flyboy_folders"  (1.3ms) 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)   (3.5ms) 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'   (1.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (5.9ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.2ms) 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, "author_type" varchar, "author_id" integer)  (1.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (5.1ms) DROP TABLE "dorsale_flyboy_tasks"  (2.3ms) 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, "owner_type" varchar, "owner_id" integer)   (2.6ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (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'   (2.4ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (3.0ms) DROP TABLE "dummy_models"  (1.5ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (4.2ms) DROP TABLE "taggings"  (1.0ms) 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)  (1.1ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (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.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.7ms) DROP TABLE "tags"  (2.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (1.3ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (4.4ms) DROP TABLE "users"  (2.4ms) 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, "is_active" boolean, "avatar" varchar)  (2.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.4ms) 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'  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.4ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "dorsale_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (0.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';  (1.0ms) DELETE FROM "dorsale_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';  (0.8ms) DELETE FROM "dorsale_customer_vault_corporations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (0.9ms) DELETE FROM "dorsale_customer_vault_links";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.8ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.9ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';  (0.8ms) DELETE FROM "dummy_models";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';  (0.9ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id_card_name", "Bidule Corp"], ["entity_name", "Bidule Corp"], ["created_at", "2016-02-18 11:26:27.786974"], ["updated_at", "2016-02-18 11:26:27.786974"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2016-02-18 11:26:27.793879"], ["updated_at", "2016-02-18 11:26:27.793879"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "www", "phone", "fax", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["www", "http://www.agilidee.com/"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:27.870732"], ["updated_at", "2016-02-18 11:26:27.870732"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["addressable_id", 1], ["created_at", "2016-02-18 11:26:27.872685"], ["updated_at", "2016-02-18 11:26:27.872685"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('client')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'client' LIMIT 1 SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "client"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:27.997959"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("label", "id_card_id", "customer_id", "customer_type", "payment_term_id", "advance", "vat_amount", "commercial_discount", "total_excluding_taxes", "paid", "due_date", "date", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Commande de bombons"], ["id_card_id", 1], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["advance", 0.0], ["vat_amount", 8.96], ["commercial_discount", 0.0], ["total_excluding_taxes", 44.8], ["paid", "f"], ["due_date", "2016-03-19"], ["date", "2016-02-18"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-02-18 11:26:28.059200"], ["updated_at", "2016-02-18 11:26:28.059200"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["total", 44.8], ["invoice_id", 1], ["created_at", "2016-02-18 11:26:28.062295"], ["updated_at", "2016-02-18 11:26:28.062295"]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:28.073551"], ["updated_at", "2016-02-18 11:26:28.073551"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["addressable_id", 2], ["created_at", "2016-02-18 11:26:28.075360"], ["updated_at", "2016-02-18 11:26:28.075360"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('prospect') OR LOWER(name) = LOWER('certain')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'prospect' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "prospect"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'certain' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "certain"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:28.083294"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:28.088221"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 3]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 3]]  (1.1ms) commit transaction  (0.0ms) 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", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:28.106913"], ["updated_at", "2016-02-18 11:26:28.106913"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("label", "id_card_id", "customer_id", "customer_type", "payment_term_id", "state", "date", "expires_at", "commercial_discount", "vat_amount", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Application sur mesure"], ["id_card_id", 1], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["state", "pending"], ["date", "2016-02-18"], ["expires_at", "2016-03-18"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-02-18 11:26:28.135204"], ["updated_at", "2016-02-18 11:26:28.135204"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "quotation_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Développement"], ["quantity", 14.0], ["unit_price", 750.0], ["vat_rate", 20.0], ["total", 10500.0], ["quotation_id", 1], ["created_at", "2016-02-18 11:26:28.138424"], ["updated_at", "2016-02-18 11:26:28.138424"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 10500.0], ["vat_amount", 2100.0], ["total_including_taxes", 12600.0], ["updated_at", "2016-02-18 11:26:28.143030"], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "quotation_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Gestion de projet"], ["quantity", 5.0], ["unit_price", 1200.0], ["vat_rate", 20.0], ["total", 6000.0], ["quotation_id", 1], ["created_at", "2016-02-18 11:26:28.145685"], ["updated_at", "2016-02-18 11:26:28.145685"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 16500.0], ["vat_amount", 3300.0], ["total_including_taxes", 19800.0], ["updated_at", "2016-02-18 11:26:28.150923"], ["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:28.167865"], ["updated_at", "2016-02-18 11:26:28.167865"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 1], ["created_at", "2016-02-18 11:26:28.170614"], ["updated_at", "2016-02-18 11:26:28.170614"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('prospect') OR LOWER(name) = LOWER('potentiel')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'potentiel' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.177455"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 4 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.182131"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 4]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jean"], ["last_name", "DUPONT"], ["email", "jean.dupon@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:28.189514"], ["updated_at", "2016-02-18 11:26:28.189514"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 2], ["created_at", "2016-02-18 11:26:28.191122"], ["updated_at", "2016-02-18 11:26:28.191122"]] ActsAsTaggableOn::Tag Load (3.8ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('développeur') OR LOWER(name) = LOWER('rails') OR LOWER(name) = LOWER('freelance')) ActsAsTaggableOn::Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'développeur' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "développeur"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'rails' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "rails"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'freelance' LIMIT 1 SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 5 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.205308"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 5]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 5]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 6 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.209628"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 6]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 7 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.213030"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 7]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (1.0ms) commit transaction  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.4ms) INSERT INTO "dorsale_comments" ("text", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:28.223083"], ["updated_at", "2016-02-18 11:26:28.223083"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-02-18') SQL (0.5ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "status", "progress", "version", "created_at", "updated_at", "tracking") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["status", "open"], ["progress", 0], ["version", 1], ["created_at", "2016-02-18 11:26:28.234482"], ["updated_at", "2016-02-18 11:26:28.234482"], ["tracking", "160218-1"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("name", "description", "taskable_id", "taskable_type", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:28.251350"], ["updated_at", "2016-02-18 11:26:28.251350"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.2ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2016-02-18 11:26:28.256527"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["author_type", "User"], ["task_id", 1], ["date", "2016-02-18 11:26:28.269500"], ["created_at", "2016-02-18 11:26:28.272685"], ["updated_at", "2016-02-18 11:26:28.272685"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-02-18 11:26:28.274796"], ["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-02-18 11:26:28.278075"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("name", "description", "taskable_id", "taskable_type", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:28.283459"], ["updated_at", "2016-02-18 11:26:28.283459"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.2ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2016-02-18 11:26:28.288838"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:28.292217"], ["updated_at", "2016-02-18 11:26:28.292217"]]  (0.9ms) commit transaction  (0.0ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["author_type", "User"], ["task_id", 3], ["date", "2016-02-18 11:26:28.296326"], ["created_at", "2016-02-18 11:26:28.298674"], ["updated_at", "2016-02-18 11:26:28.298674"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-02-18 11:26:28.300699"], ["id", 3]]  (0.8ms) commit transaction  (3.5ms) DROP TABLE "dorsale_addresses"  (1.2ms) 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, "addressable_id" integer, "addressable_type" varchar)  (1.1ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.1ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.4ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.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)  (1.2ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.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, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.9ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.0ms) 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'  (1.9ms) 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.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'   (1.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'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.1ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.0ms) 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)  (1.1ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.0ms) 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, "vat_rate" decimal)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.6ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.3ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (1.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'   (1.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'  (1.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'  (1.4ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.2ms) DROP TABLE "dorsale_comments"  (1.0ms) 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, "author_type" varchar)   (1.4ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)   (1.1ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.1ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)   (1.3ms) DROP TABLE "dorsale_customer_vault_links"  (1.0ms) 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)   (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.2ms)  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'   (1.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'  (1.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'  (1.6ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (2.4ms) DROP TABLE "dorsale_flyboy_folders"  (2.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)   (1.5ms) 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'   (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (2.9ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.2ms) 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, "author_type" varchar, "author_id" integer)  (1.2ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (3.6ms) DROP TABLE "dorsale_flyboy_tasks"  (1.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, "owner_type" varchar, "owner_id" integer)   (1.0ms) 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'   (1.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.5ms) DROP TABLE "dummy_models"  (1.7ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) DROP TABLE "taggings"  (1.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)  (1.6ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (0.7ms) 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'  (2.5ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (2.0ms) DROP TABLE "tags"  (1.8ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (1.2ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.2ms) DROP TABLE "users"  (1.3ms) 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, "is_active" boolean, "avatar" varchar)  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT version FROM "schema_migrations"  (1.2ms) DROP TABLE "dorsale_addresses"  (1.1ms) 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, "addressable_id" integer, "addressable_type" varchar)  (2.6ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.7ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.4ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.8ms) 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)  (1.7ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (5.1ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.6ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.7ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.5ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.7ms) 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'   (1.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.8ms) 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)  (1.8ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (2.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, "vat_rate" decimal)  (1.8ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.8ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.5ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (2.9ms) 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'  (3.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.0ms) DROP TABLE "dorsale_comments"  (0.9ms) 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, "author_type" varchar)   (1.0ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)   (1.0ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.1ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)   (1.3ms) DROP TABLE "dorsale_customer_vault_links"  (2.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)   (1.4ms) 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'   (2.3ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.7ms)  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.2ms) 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'  (2.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.4ms) 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.2ms) 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'  (2.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (3.5ms) DROP TABLE "dorsale_flyboy_folders"  (1.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.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (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'   (1.3ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.6ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.6ms) 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, "author_type" varchar, "author_id" integer)  (1.7ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (2.6ms) DROP TABLE "dorsale_flyboy_tasks"  (3.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, "owner_type" varchar, "owner_id" integer)   (1.6ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (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'   (1.3ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.1ms) DROP TABLE "dummy_models"  (1.2ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) DROP TABLE "taggings"  (3.5ms) 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)  (1.0ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (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.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.4ms) DROP TABLE "tags"  (1.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (2.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (4.5ms) DROP TABLE "users"  (2.1ms) 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, "is_active" boolean, "avatar" varchar)  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.9ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (1.0ms) DELETE FROM "dorsale_billing_machine_invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';  (0.8ms) DELETE FROM "dorsale_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';  (0.7ms) DELETE FROM "dorsale_customer_vault_corporations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (1.0ms) DELETE FROM "dorsale_customer_vault_links";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.9ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (1.0ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';  (0.8ms) DELETE FROM "dummy_models";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';  (0.9ms) DELETE FROM "taggings";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id_card_name", "Bidule Corp"], ["entity_name", "Bidule Corp"], ["created_at", "2016-02-18 11:26:55.594147"], ["updated_at", "2016-02-18 11:26:55.594147"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2016-02-18 11:26:55.602275"], ["updated_at", "2016-02-18 11:26:55.602275"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "www", "phone", "fax", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["www", "http://www.agilidee.com/"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:55.660919"], ["updated_at", "2016-02-18 11:26:55.660919"]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["addressable_id", 1], ["created_at", "2016-02-18 11:26:55.663175"], ["updated_at", "2016-02-18 11:26:55.663175"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('client')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'client' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "client"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:55.799312"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("label", "id_card_id", "customer_id", "customer_type", "payment_term_id", "advance", "vat_amount", "commercial_discount", "total_excluding_taxes", "paid", "due_date", "date", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Commande de bombons"], ["id_card_id", 1], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["advance", 0.0], ["vat_amount", 8.96], ["commercial_discount", 0.0], ["total_excluding_taxes", 44.8], ["paid", "f"], ["due_date", "2016-03-19"], ["date", "2016-02-18"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-02-18 11:26:55.842086"], ["updated_at", "2016-02-18 11:26:55.842086"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["total", 44.8], ["invoice_id", 1], ["created_at", "2016-02-18 11:26:55.844513"], ["updated_at", "2016-02-18 11:26:55.844513"]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:55.854750"], ["updated_at", "2016-02-18 11:26:55.854750"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["addressable_id", 2], ["created_at", "2016-02-18 11:26:55.857057"], ["updated_at", "2016-02-18 11:26:55.857057"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('prospect') OR LOWER(name) = LOWER('certain')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'prospect' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "prospect"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'certain' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "certain"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:55.865867"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Corporation' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:55.869897"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 3]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 3]]  (1.1ms) commit transaction  (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", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-02-18 11:26:55.887548"], ["updated_at", "2016-02-18 11:26:55.887548"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("label", "id_card_id", "customer_id", "customer_type", "payment_term_id", "state", "date", "expires_at", "commercial_discount", "vat_amount", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Application sur mesure"], ["id_card_id", 1], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["state", "pending"], ["date", "2016-02-18"], ["expires_at", "2016-03-18"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-02-18 11:26:55.913496"], ["updated_at", "2016-02-18 11:26:55.913496"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "quotation_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Développement"], ["quantity", 14.0], ["unit_price", 750.0], ["vat_rate", 20.0], ["total", 10500.0], ["quotation_id", 1], ["created_at", "2016-02-18 11:26:55.916675"], ["updated_at", "2016-02-18 11:26:55.916675"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 10500.0], ["vat_amount", 2100.0], ["total_including_taxes", 12600.0], ["updated_at", "2016-02-18 11:26:55.922396"], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "vat_rate", "total", "quotation_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "Gestion de projet"], ["quantity", 5.0], ["unit_price", 1200.0], ["vat_rate", 20.0], ["total", 6000.0], ["quotation_id", 1], ["created_at", "2016-02-18 11:26:55.925070"], ["updated_at", "2016-02-18 11:26:55.925070"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 16500.0], ["vat_amount", 3300.0], ["total_including_taxes", 19800.0], ["updated_at", "2016-02-18 11:26:55.930412"], ["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:55.946858"], ["updated_at", "2016-02-18 11:26:55.946858"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 1], ["created_at", "2016-02-18 11:26:55.948652"], ["updated_at", "2016-02-18 11:26:55.948652"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('prospect') OR LOWER(name) = LOWER('potentiel')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'potentiel' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:55.955787"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 4 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["context", "tags"], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:55.960733"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 4]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 4]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jean"], ["last_name", "DUPONT"], ["email", "jean.dupon@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-02-18 11:26:55.967756"], ["updated_at", "2016-02-18 11:26:55.967756"]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 2], ["created_at", "2016-02-18 11:26:55.969509"], ["updated_at", "2016-02-18 11:26:55.969509"]] ActsAsTaggableOn::Tag Load (3.2ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('développeur') OR LOWER(name) = LOWER('rails') OR LOWER(name) = LOWER('freelance')) ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'développeur' LIMIT 1 SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "développeur"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'rails' LIMIT 1 SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "rails"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'freelance' LIMIT 1 SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 5 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:55.982095"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 5]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 5]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 6 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:55.986316"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 6]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 7 AND "taggings"."taggable_type" = 'Dorsale::CustomerVault::Individual' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "context", "taggable_id", "taggable_type", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["context", "tags"], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:55.990674"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 7]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (6.8ms) commit transaction  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-02-18 11:26:56.007404"], ["updated_at", "2016-02-18 11:26:56.007404"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-02-18') SQL (0.3ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "status", "progress", "version", "created_at", "updated_at", "tracking") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["status", "open"], ["progress", 0], ["version", 1], ["created_at", "2016-02-18 11:26:56.019517"], ["updated_at", "2016-02-18 11:26:56.019517"], ["tracking", "160218-1"]]  (1.0ms) commit transaction  (0.1ms) begin transaction Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "dorsale_flyboy_tasks" ("name", "description", "taskable_id", "taskable_type", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:56.035670"], ["updated_at", "2016-02-18 11:26:56.035670"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2016-02-18 11:26:56.039904"], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["author_type", "User"], ["task_id", 1], ["date", "2016-02-18 11:26:56.052274"], ["created_at", "2016-02-18 11:26:56.054818"], ["updated_at", "2016-02-18 11:26:56.054818"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-02-18 11:26:56.056516"], ["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-02-18 11:26:56.059861"], ["id", 1]]  (1.2ms) commit transaction  (0.1ms) begin transaction Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "dorsale_flyboy_tasks" ("name", "description", "taskable_id", "taskable_type", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:56.064611"], ["updated_at", "2016-02-18 11:26:56.064611"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2016-02-18 11:26:56.069100"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "done", "reminder", "term", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["done", "f"], ["reminder", "2016-02-25"], ["term", "2016-03-19"], ["progress", 0], ["created_at", "2016-02-18 11:26:56.072528"], ["updated_at", "2016-02-18 11:26:56.072528"]]  (0.8ms) commit transaction  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1 SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["author_type", "User"], ["task_id", 3], ["date", "2016-02-18 11:26:56.076660"], ["created_at", "2016-02-18 11:26:56.078901"], ["updated_at", "2016-02-18 11:26:56.078901"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-02-18 11:26:56.080536"], ["id", 3]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.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.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateExpenseGun (20160125201025)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index'  (0.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160125201025"]]  (1.2ms) 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.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.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.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Started GET "/" for ::1 at 2016-03-09 15:29:07 +0100 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (17.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.8ms) Completed 200 OK in 9390ms (Views: 9377.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:29:17 +0100 Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-03-09 15:29:22 +0100 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (94.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (9.4ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Dorsale::Flyboy::Folder Load (0.4ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (99.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (252.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1616ms (Views: 420.5ms | ActiveRecord: 2.2ms) Started GET "/dorsale/flyboy/summary" for ::1 at 2016-03-09 15:29:28 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/flyboy/summary"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.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/routes/_route.html.erb (2.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (16.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.7ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (211.7ms) Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:29:48 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `id' for nil:NilClass): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/concerns/tasks_summary.rb:7:in `setup_tasks_summary' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/tasks_controller.rb:164:in `summary' 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 (6.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (79.1ms) Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:29:50 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `id' for nil:NilClass): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/concerns/tasks_summary.rb:7:in `setup_tasks_summary' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/tasks_controller.rb:164:in `summary' 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 (7.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (83.2ms) Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:30:03 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `id' for nil:NilClass): /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/concerns/tasks_summary.rb:7:in `setup_tasks_summary' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/tasks_controller.rb:164:in `summary' 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 (7.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (103.2ms) Started GET "/" for ::1 at 2016-03-09 15:30:06 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 137ms (Views: 136.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:30:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:30:07 +0100 Started GET "/users/sign_in" for ::1 at 2016-03-09 15:30:08 +0100 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (31.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 183.3ms | ActiveRecord: 0.4ms) Started POST "/users/sign_in" for ::1 at 2016-03-09 15:30:12 +0100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qCaY0TkHe1qtednfqelhh9AVhEh9l6N4wKEhpWJPoHfzhf8aoz6HaWuVzBKEVp5WbnoBEf8yFjTls20PdUKfkQ==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "benoit.martin-chave@agilidee.com"]] Completed 401 Unauthorized in 12ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qCaY0TkHe1qtednfqelhh9AVhEh9l6N4wKEhpWJPoHfzhf8aoz6HaWuVzBKEVp5WbnoBEf8yFjTls20PdUKfkQ==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (11.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.1ms) Completed 200 OK in 259ms (Views: 157.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:30:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:30:15 +0100  (0.2ms) SELECT COUNT(*) FROM "users"  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'benoit.martin-chave@agilidee.com' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "benoit.martin-chave@agilidee.com"], ["encrypted_password", "$2a$10$89tfw5yZMX1qlbmYSBVwN.Ep.YPuIhsTh6mqsE0u3r3JzRdTvXZia"], ["created_at", "2016-03-09 14:30:44.364345"], ["updated_at", "2016-03-09 14:30:44.364345"]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 4d90a10e-d637-4fac-9667-eb3cacc9bd64) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password" [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password" [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (18.3ms) [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Dorsale::UserMailer#new_account: processed outbound mail in 364.0ms [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Sent mail to benoit.martin-chave@agilidee.com (74.3ms) [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Date: Wed, 09 Mar 2016 15:30:45 +0100 From: example@example.org To: benoit.martin-chave@agilidee.com Message-ID: <56e03395acc62_c8e63fe87a05e1f82738@tiramisu.local.mail> Subject: Nouveau compte Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Nouveau compte cr=C3=A9=C3=A9

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

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

Votre mot de passe est: password

= [ActiveJob] [ActionMailer::DeliveryJob] [4d90a10e-d637-4fac-9667-eb3cacc9bd64] Performed ActionMailer::DeliveryJob from Inline(mailers) in 1333.26ms  (1.0ms) commit transaction Started GET "/users/sign_in" for ::1 at 2016-03-09 15:31:05 +0100 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (12.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 155ms (Views: 154.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:31:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:31:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:31:06 +0100 Started POST "/users/sign_in" for ::1 at 2016-03-09 15:31:09 +0100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"I8zbbQIyvjPiacOts7EIWU1stVUT9tK7UGNhl88m92d4b7ymmAtCACSF1mCeDveI8wMwDJFTZ/d1cS092CvIgQ==", "user"=>{"email"=>"benoit.martin-chave@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "benoit.martin-chave@agilidee.com"]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-03-09 14:31:09.646235"], ["current_sign_in_at", "2016-03-09 14:31:09.646235"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2016-03-09 14:31:09.648014"], ["id", 1]]  (2.3ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 124ms (ActiveRecord: 3.0ms) Started GET "/" for ::1 at 2016-03-09 15:31:09 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 129ms (Views: 127.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:31:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:31:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:31:10 +0100 Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:31:12 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term < '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (10.6ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.4ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-10') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-10') AND (term <= '2016-03-13') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.3ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-13') AND (term <= '2016-03-20') [["done", "f"]] Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (11.4ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-20') AND (term <= '2016-03-27') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary.html.slim (69.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/summary.html.slim within layouts/application (78.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 243ms (Views: 234.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:31:12 +0100 Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:31:39 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term < '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (2.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-10') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.3ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-10') AND (term <= '2016-03-13') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-13') AND (term <= '2016-03-20') [["done", "f"]] Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (65.5ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-20') AND (term <= '2016-03-27') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary.html.slim (1013.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/summary.html.slim within layouts/application (1018.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1183ms (Views: 1155.8ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:31:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:31:41 +0100 Started GET "/dorsale/flyboy/tasks/summary" for ::1 at 2016-03-09 15:32:01 +0100 Processing by Dorsale::Flyboy::TasksController#summary as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term < '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (2.7ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-09') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term = '2016-03-10') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.1ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-10') AND (term <= '2016-03-13') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-13') AND (term <= '2016-03-20') [["done", "f"]] Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (74.5ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE ((owner_id IS NULL and owner_type IS NULL) OR (owner_id = 1 and owner_type = 'User')) AND "dorsale_flyboy_tasks"."done" = ? AND (term > '2016-03-20') AND (term <= '2016-03-27') [["done", "f"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary_list.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_summary.html.slim (1055.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/summary.html.slim within layouts/application (1062.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1247ms (Views: 1216.6ms | ActiveRecord: 3.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-09 15:32:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-09 15:32:03 +0100 Started GET "/" for ::1 at 2016-03-18 19:14:21 +0100 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.9ms) Completed 200 OK in 5645ms (Views: 5632.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:14:27 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:14:27 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:14:27 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:14:28 +0100 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-03-18 19:14:29 +0100 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-03-18 19:14:29 +0100 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1132.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.7ms)  (0.6ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (45.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (55.0ms) 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (12.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (1271.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.0ms) Completed 200 OK in 1463ms (Views: 1424.2ms | ActiveRecord: 4.3ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-03-18 19:14:31 +0100 Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-03-18 19:15:12 +0100 ArgumentError (wrong number of arguments (0 for 1..2)): actionview (4.2.4) lib/action_view/layouts.rb:262:in `layout' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/application_controller.rb:7:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/application_controller.rb:2:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/application_controller.rb:1:in `' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:3:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:2:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:1:in `' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:3:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:2:in `' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:1:in `' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' zeus (0.15.4) lib/zeus/load_tracking.rb:50:in `load' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.4) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.4) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:72:in `controller_reference' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:62:in `controller' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:41: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 (6.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_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.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (82.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-03-18 19:15:20 +0100 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (4.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (14.6ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (19.6ms) 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (9.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (85.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 298ms (Views: 193.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:15:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:15:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:15:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:15:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:15:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:15:32 +0100 Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-03-18 19:15:34 +0100 Processing by Dorsale::CustomerVault::PeopleController#list 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" ActsAsTaggableOn::Tag Load (1.4ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.0ms) ActsAsTaggableOn::Tag Load (1.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (54.6ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (3.7ms) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (10.8ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (3.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (160.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 302ms (Views: 273.1ms | ActiveRecord: 3.9ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-03-18 19:15:35 +0100 Processing by Dorsale::CustomerVault::PeopleController#list 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" ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (9.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (1.5ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (3.9ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (2.9ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (3.2ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (84.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 211ms (Views: 205.1ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:15:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.7ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (90.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (6.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (15.5ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (141.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 285ms (Views: 249.6ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-03-18 19:15:50 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.8ms) 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 (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (15.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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.3ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (65.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 213ms (Views: 193.4ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:15:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (33.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 166ms (Views: 161.0ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:16:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (31.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (62.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 200ms (Views: 194.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:16:19 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:16:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as */* 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::IdCard Load (0.7ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (1.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (3.1ms) Completed 200 OK in 152ms (Views: 3.0ms | ActiveRecord: 4.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:16:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (5.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (37.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 168ms (Views: 163.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:16:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:16:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:16:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:16:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:16:28 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:16:29 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:17:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 589ms (Views: 583.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:17:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:17:05 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:17:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as */* Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.8ms) Completed 200 OK in 64ms (Views: 0.7ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:17:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 148ms (Views: 143.2ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:17:32 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:17:33 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:17:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as */* Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.6ms) Completed 200 OK in 86ms (Views: 0.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:18:18 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:18:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as */* Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.6ms) Completed 200 OK in 78ms (Views: 0.5ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:21:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.8ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.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/invoices/_list.html.slim (4.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (37.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 613ms (Views: 607.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:21:45 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:21:46 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:21:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (61.1ms) Completed 200 OK in 74ms (Views: 67.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:21:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (4.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.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/invoices/_list.html.slim (5.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 395ms (Views: 219.4ms | ActiveRecord: 4.0ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:22:00 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:22:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.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 221ms (Views: 216.2ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:22:02 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:22:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (1.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.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/invoices/_list.html.slim (6.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 307ms (Views: 165.4ms | ActiveRecord: 3.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:22:11 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:22:12 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:22:12 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:22:12 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:22:12 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:22:12 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:22:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.8ms) Completed 200 OK in 65ms (Views: 57.6ms | ActiveRecord: 2.4ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:23:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (200.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (253.1ms) Completed 200 OK in 323ms (Views: 306.7ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:24:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (36.2ms) Completed 200 OK in 49ms (Views: 41.9ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:24:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (6.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (37.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4292ms (Views: 4287.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:24:21 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:24:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.3ms) Completed 200 OK in 40ms (Views: 34.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:24:31 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:25:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (5.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (36.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4314ms (Views: 4309.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:25:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:25:09 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:25:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.6ms) Completed 200 OK in 47ms (Views: 40.8ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:25:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (1.4ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (116.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (162.1ms) Completed 200 OK in 228ms (Views: 219.1ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:26:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (5.1ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (47.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 642ms (Views: 636.2ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:26:18 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:26:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:26:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:26:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:26:19 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:26:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 181ms (Views: 174.6ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:26:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.3ms) Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.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/invoices/_list.html.slim (4.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 207ms (Views: 200.0ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:26:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:26:26 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:27:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (4.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 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/invoices/_list.html.slim (5.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 592ms (Views: 587.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:27:07 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:27:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (36.4ms) Completed 200 OK in 49ms (Views: 43.2ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:27:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (120.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (165.1ms) Completed 200 OK in 238ms (Views: 228.9ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:27:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (150.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (200.8ms) Completed 200 OK in 272ms (Views: 262.3ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-03-18 19:27:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (71.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (84.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 228ms (Views: 220.4ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:27:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 172ms (Views: 167.3ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:27:35 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:27:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:27:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:27:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:27:36 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:27:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (9.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.0ms) Completed 200 OK in 54ms (Views: 48.0ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1/email" for ::1 at 2016-03-18 19:27:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#email as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (7.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (87.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/email.html.slim (156.2ms) Completed 200 OK in 228ms (Views: 217.2ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/1/email" for ::1 at 2016-03-18 19:27:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#email as HTML Parameters: {"id"=>"1"} 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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (62.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/email.html.slim (125.0ms) Completed 200 OK in 212ms (Views: 203.2ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:27:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.8ms) Completed 200 OK in 56ms (Views: 49.3ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:27:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.2ms) Completed 200 OK in 51ms (Views: 44.0ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:28:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (119.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (165.1ms) Completed 200 OK in 229ms (Views: 220.5ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-03-18 19:28:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (1.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (149.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (204.9ms) Completed 200 OK in 279ms (Views: 269.5ms | ActiveRecord: 2.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.3ms) Completed 200 OK in 51ms (Views: 40.3ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.1ms) Completed 200 OK in 54ms (Views: 47.2ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.3ms) Completed 200 OK in 58ms (Views: 50.1ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.2ms) Completed 200 OK in 54ms (Views: 46.6ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (4.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (1.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (47.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (62.0ms) Completed 200 OK in 88ms (Views: 70.7ms | ActiveRecord: 7.5ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (9.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (46.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (60.6ms) Completed 200 OK in 76ms (Views: 68.7ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.9ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (64.7ms) Completed 200 OK in 81ms (Views: 73.1ms | ActiveRecord: 2.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.2ms) Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.4ms) Completed 200 OK in 67ms (Views: 60.4ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (45.1ms) Completed 200 OK in 60ms (Views: 53.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (51.7ms) Completed 200 OK in 68ms (Views: 60.2ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (49.8ms) Completed 200 OK in 68ms (Views: 57.8ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.3ms) Completed 200 OK in 84ms (Views: 54.0ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.7ms) Completed 200 OK in 54ms (Views: 49.2ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 19:28:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.5ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (65.0ms) Completed 200 OK in 84ms (Views: 74.4ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices/1/copy" for ::1 at 2016-03-18 19:28:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim (166.4ms) Completed 200 OK in 232ms (Views: 217.0ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1/copy" for ::1 at 2016-03-18 19:28:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (127.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim (188.4ms) Completed 200 OK in 268ms (Views: 253.7ms | ActiveRecord: 1.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3tlDiGbXH5IckGbIqC/BCNebmmkDULKa2zE+FpZ9UWIU5LwMbo0yiXMmLMefxUhApJaoTov02Hz53n/q+8Q2xw==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" 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]]  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (4.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "customer_id", "customer_type", "payment_term_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "comments", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["label", "Commande de bombons"], ["paid", "f"], ["date", "2016-03-18"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-04-17"], ["comments", ""], ["vat_amount", 8.96], ["total_excluding_taxes", 44.8], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-03-18 18:29:06.792992"], ["updated_at", "2016-03-18 18:29:06.792992"], ["unique_index", 2], ["tracking_id", "2016-02"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit", ""], ["unit_price", 14.0], ["vat_rate", 20.0], ["total", 44.8], ["invoice_id", 2], ["created_at", "2016-03-18 18:29:06.800179"], ["updated_at", "2016-03-18 18:29:06.800179"]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 6.4ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3tlDiGbXH5IckGbIqC/BCNebmmkDULKa2zE+FpZ9UWIU5LwMbo0yiXMmLMefxUhApJaoTov02Hz53n/q+8Q2xw==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" 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]]  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "customer_id", "customer_type", "payment_term_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "comments", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["label", "Commande de bombons"], ["paid", "f"], ["date", "2016-03-18"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-04-17"], ["comments", ""], ["vat_amount", 8.96], ["total_excluding_taxes", 44.8], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-03-18 18:29:06.835418"], ["updated_at", "2016-03-18 18:29:06.835418"], ["unique_index", 3], ["tracking_id", "2016-03"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit", ""], ["unit_price", 14.0], ["vat_rate", 20.0], ["total", 44.8], ["invoice_id", 3], ["created_at", "2016-03-18 18:29:06.837710"], ["updated_at", "2016-03-18 18:29:06.837710"]] Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]] 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", 3]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 20ms (ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (43.4ms) Completed 200 OK in 55ms (Views: 47.6ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (12.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (13.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (65.3ms) Completed 200 OK in 79ms (Views: 71.2ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.2ms) Completed 200 OK in 174ms (Views: 167.7ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:29:36 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (7.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 595ms (Views: 589.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:29:44 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-03-18 19:29:46 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (50.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 216ms (Views: 207.8ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices/3" for ::1 at 2016-03-18 19:29:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"3"} 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", 3]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.8ms) Completed 200 OK in 52ms (Views: 46.3ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/3/copy" for ::1 at 2016-03-18 19:29:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"3"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (121.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim (166.7ms) Completed 200 OK in 235ms (Views: 223.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/3/copy" for ::1 at 2016-03-18 19:29:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#copy as HTML Parameters: {"id"=>"3"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (139.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim (199.1ms) Completed 200 OK in 277ms (Views: 261.6ms | ActiveRecord: 1.7ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"P808clkT3+ORCdout6eUf3u7lIklGTh0Kzob0H3GifL18MP2UUny+P6/kCGATR03CLamrq29UpIJ1VosEH/uVw==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices"} 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::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]]  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.6ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "customer_id", "customer_type", "payment_term_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "comments", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["label", "Commande de bombons"], ["paid", "f"], ["date", "2016-03-18"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-04-17"], ["comments", ""], ["vat_amount", 8.96], ["total_excluding_taxes", 44.8], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-03-18 18:29:55.735216"], ["updated_at", "2016-03-18 18:29:55.735216"], ["unique_index", 4], ["tracking_id", "2016-04"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit", ""], ["unit_price", 14.0], ["vat_rate", 20.0], ["total", 44.8], ["invoice_id", 4], ["created_at", "2016-03-18 18:29:55.739849"], ["updated_at", "2016-03-18 18:29:55.739849"]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 28ms (ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:29:55 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (40.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 164ms (Views: 156.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:29:56 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:30:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.9ms) Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:30:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (130.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (176.6ms) Completed 200 OK in 249ms (Views: 236.7ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:30:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (158.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (212.7ms) Completed 200 OK in 292ms (Views: 281.2ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:30:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (16.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (57.7ms) Completed 200 OK in 72ms (Views: 63.4ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:30:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (20.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (60.0ms) Completed 200 OK in 77ms (Views: 67.9ms | ActiveRecord: 2.2ms) Started GET "/dorsale/users" for ::1 at 2016-03-18 19:30:27 +0100 Processing by Dorsale::UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (25.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 177ms (Views: 174.4ms | ActiveRecord: 1.0ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-03-18 19:30:29 +0100 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-03-18 19:30:29 +0100 Processing by Dorsale::CustomerVault::PeopleController#activity 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/customer_vault/people/_actions.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (7.2ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (14.9ms) 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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (21.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (88.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 226ms (Views: 220.1ms | ActiveRecord: 1.7ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-03-18 19:30:29 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:30:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 174ms (Views: 167.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:30:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.4ms) Completed 200 OK in 46ms (Views: 39.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:30:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.3ms) Completed 200 OK in 47ms (Views: 41.3ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:30:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.3ms) Completed 200 OK in 58ms (Views: 50.5ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:30:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.3ms) Completed 200 OK in 54ms (Views: 47.5ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:31:24 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 610ms (Views: 604.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:31:25 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:31:26 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.7ms) Completed 200 OK in 58ms (Views: 50.6ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (127.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (174.4ms) Completed 200 OK in 243ms (Views: 234.3ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (152.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (202.1ms) Completed 200 OK in 281ms (Views: 272.0ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:31:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (11.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (14.1ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (60.4ms) Completed 200 OK in 76ms (Views: 66.6ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:31:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.9ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (16.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (57.4ms) Completed 200 OK in 74ms (Views: 65.0ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.3ms) Completed 200 OK in 46ms (Views: 40.0ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.9ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (46.7ms) Completed 200 OK in 70ms (Views: 60.3ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:44 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (118.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (164.9ms) Completed 200 OK in 231ms (Views: 223.4ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (130.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (197.2ms) Completed 200 OK in 275ms (Views: 266.4ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.1ms) Completed 200 OK in 59ms (Views: 50.6ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (1.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (53.5ms) Completed 200 OK in 70ms (Views: 61.1ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (7.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (58.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (81.5ms) Completed 200 OK in 119ms (Views: 106.0ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.9ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.6ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (49.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (68.9ms) Completed 200 OK in 84ms (Views: 75.2ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (2.9ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (34.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.9ms) Completed 200 OK in 67ms (Views: 52.7ms | ActiveRecord: 4.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (56.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (79.6ms) Completed 200 OK in 108ms (Views: 90.6ms | ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.8ms) Completed 200 OK in 69ms (Views: 61.1ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.9ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (34.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (60.1ms) Completed 200 OK in 82ms (Views: 70.8ms | ActiveRecord: 2.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.8ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (48.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (64.3ms) Completed 200 OK in 81ms (Views: 72.7ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.6ms) Completed 200 OK in 63ms (Views: 54.6ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (32.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (49.5ms) Completed 200 OK in 64ms (Views: 58.5ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.9ms) Completed 200 OK in 62ms (Views: 51.3ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.9ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.5ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (54.2ms) Completed 200 OK in 72ms (Views: 58.9ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (9.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (59.6ms) Completed 200 OK in 101ms (Views: 84.5ms | ActiveRecord: 2.1ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (47.0ms) Completed 200 OK in 64ms (Views: 55.1ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (44.9ms) Completed 200 OK in 60ms (Views: 50.5ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (36.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (53.2ms) Completed 200 OK in 73ms (Views: 61.4ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (54.4ms) Completed 200 OK in 79ms (Views: 64.6ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:31:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (55.8ms) Completed 200 OK in 72ms (Views: 63.8ms | ActiveRecord: 2.1ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (120.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (165.6ms) Completed 200 OK in 234ms (Views: 225.2ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:31:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.5ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (134.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (198.2ms) Completed 200 OK in 293ms (Views: 284.7ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.8ms) Completed 200 OK in 60ms (Views: 50.2ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (53.4ms) Completed 200 OK in 68ms (Views: 60.3ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.5ms) Completed 200 OK in 51ms (Views: 45.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.3ms) Completed 200 OK in 53ms (Views: 44.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.3ms) Completed 200 OK in 54ms (Views: 44.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (3.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (100.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (120.0ms) Completed 200 OK in 137ms (Views: 124.4ms | ActiveRecord: 5.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) 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", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (54.5ms) Completed 200 OK in 79ms (Views: 67.6ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (38.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.8ms) Completed 200 OK in 76ms (Views: 65.5ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (36.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.9ms) Completed 200 OK in 71ms (Views: 62.9ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (11.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.5ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (51.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (64.3ms) Completed 200 OK in 89ms (Views: 77.6ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (60.6ms) Completed 200 OK in 82ms (Views: 72.4ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (46.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (71.6ms) Completed 200 OK in 87ms (Views: 78.4ms | ActiveRecord: 2.1ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (61.2ms) Completed 200 OK in 81ms (Views: 73.1ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (46.4ms) Completed 200 OK in 73ms (Views: 54.9ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (42.5ms) Completed 200 OK in 62ms (Views: 52.3ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (30.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (50.7ms) Completed 200 OK in 71ms (Views: 60.0ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (44.2ms) Completed 200 OK in 67ms (Views: 54.8ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.9ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (32.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (47.4ms) Completed 200 OK in 71ms (Views: 59.0ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.8ms) Completed 200 OK in 64ms (Views: 52.0ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (55.4ms) Completed 200 OK in 90ms (Views: 69.4ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (34.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.2ms) Completed 200 OK in 70ms (Views: 59.9ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.3ms) Completed 200 OK in 53ms (Views: 46.8ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.4ms) Completed 200 OK in 53ms (Views: 39.1ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (44.1ms) Completed 200 OK in 63ms (Views: 52.5ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (2.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.6ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.2ms) Completed 200 OK in 53ms (Views: 43.6ms | ActiveRecord: 3.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.5ms) Completed 200 OK in 57ms (Views: 43.4ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (46.4ms) Completed 200 OK in 62ms (Views: 54.0ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.1ms) 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", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (55.2ms) Completed 200 OK in 80ms (Views: 64.4ms | ActiveRecord: 3.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.9ms) Completed 200 OK in 55ms (Views: 46.9ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (42.0ms) Completed 200 OK in 55ms (Views: 48.9ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (3.9ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (41.3ms) Completed 200 OK in 61ms (Views: 50.2ms | ActiveRecord: 5.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.2ms) Completed 200 OK in 60ms (Views: 51.5ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.9ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.4ms) Completed 200 OK in 60ms (Views: 48.0ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.1ms) Completed 200 OK in 58ms (Views: 50.0ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.3ms) Completed 200 OK in 65ms (Views: 48.4ms | ActiveRecord: 2.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.7ms) Completed 200 OK in 52ms (Views: 41.8ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.8ms) Completed 200 OK in 55ms (Views: 45.7ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (36.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (52.8ms) Completed 200 OK in 69ms (Views: 60.5ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.5ms) Completed 200 OK in 58ms (Views: 52.0ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.4ms) Completed 200 OK in 59ms (Views: 47.1ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (29.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (53.3ms) Completed 200 OK in 75ms (Views: 64.0ms | ActiveRecord: 2.1ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (42.1ms) Completed 200 OK in 61ms (Views: 52.8ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (42.8ms) Completed 200 OK in 64ms (Views: 52.0ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.6ms) Completed 200 OK in 55ms (Views: 47.8ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.8ms) Completed 200 OK in 66ms (Views: 55.0ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.5ms) Completed 200 OK in 62ms (Views: 48.1ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.6ms) Completed 200 OK in 58ms (Views: 46.7ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (1.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.5ms) Completed 200 OK in 55ms (Views: 46.8ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (39.8ms) Completed 200 OK in 60ms (Views: 50.9ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.5ms) Completed 200 OK in 72ms (Views: 61.1ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.8ms) Completed 200 OK in 56ms (Views: 43.6ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.7ms) Completed 200 OK in 64ms (Views: 52.4ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.8ms) Completed 200 OK in 57ms (Views: 43.0ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.9ms) Completed 200 OK in 50ms (Views: 45.0ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.8ms) Completed 200 OK in 66ms (Views: 55.7ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (33.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (45.7ms) Completed 200 OK in 73ms (Views: 55.4ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.5ms) Completed 200 OK in 55ms (Views: 47.2ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (42.2ms) Completed 200 OK in 63ms (Views: 52.2ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (40.8ms) Completed 200 OK in 57ms (Views: 49.0ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.7ms) Completed 200 OK in 58ms (Views: 45.4ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:32:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (1.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (43.3ms) Completed 200 OK in 67ms (Views: 54.3ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:32:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 179ms (Views: 173.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:32:37 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:32:38 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:35:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.2ms) Completed 500 Internal Server Error in 389ms (ActiveRecord: 1.2ms) ActionView::Template::Error (SyntaxError: [stdin]:30:82: unexpected ->): 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: 11: body app/views/layouts/application.html.slim:8:in `_app_views_layouts_application_html_slim___3914933723946336385_70292742637680' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.7ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.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 (83.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:35:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 596ms (Views: 589.3ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:35:49 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:35:50 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:35:51 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.8ms) Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:35:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 169ms (Views: 164.8ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:35:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.2ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 192ms (Views: 186.5ms | ActiveRecord: 1.2ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:35:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:35:57 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:38:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.6ms) Completed 200 OK in 50ms (Views: 43.1ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:38:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (15.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 155ms (Views: 149.6ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:38:58 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 181ms (Views: 175.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:38:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:38:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:38:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:38:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:38:59 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:39:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.7ms) Completed 200 OK in 42ms (Views: 36.2ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:39:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.0ms) Completed 200 OK in 41ms (Views: 36.2ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:39:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (162.8ms) Completed 200 OK in 221ms (Views: 212.5ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:42:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 609ms (Views: 601.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:42:10 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:42:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.4ms) Completed 200 OK in 42ms (Views: 36.1ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:42:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.2ms) Completed 200 OK in 41ms (Views: 35.8ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:42:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (21.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.7ms) Completed 200 OK in 42ms (Views: 36.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-18 19:42:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (122.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (166.8ms) Completed 200 OK in 239ms (Views: 214.9ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:42:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.2ms) Completed 200 OK in 44ms (Views: 37.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/3" for ::1 at 2016-03-18 19:44:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"3"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 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", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.1ms) Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/3/edit" for ::1 at 2016-03-18 19:44:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"3"} 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", 3]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 3]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (123.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (172.3ms) Completed 200 OK in 232ms (Views: 224.1ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:48:15 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (4.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 600ms (Views: 594.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:48:16 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:48:18 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (25.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 156ms (Views: 151.9ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:48:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.3ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 624ms (Views: 618.1ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:48:29 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:48:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (39.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (48.4ms) Completed 200 OK in 59ms (Views: 52.8ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:48:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (38.4ms) Completed 200 OK in 48ms (Views: 42.8ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:48:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (37.7ms) Completed 200 OK in 56ms (Views: 47.7ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:48:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (3.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (53.1ms) Completed 200 OK in 68ms (Views: 59.9ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 19:59:40 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 622ms (Views: 615.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 19:59:41 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 19:59:42 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:59:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.6ms) Completed 200 OK in 43ms (Views: 37.6ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:59:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (17.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.6ms) Completed 200 OK in 41ms (Views: 36.8ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 19:59:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} 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::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.5ms) Completed 200 OK in 45ms (Views: 39.2ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2016-03-18 19:59:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (25.8ms) Completed 200 OK in 39ms (Views: 32.7ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-18 20:01:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.2ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 602ms (Views: 595.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-18 20:01:09 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-18 20:01:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (28.3ms) Completed 200 OK in 43ms (Views: 34.9ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2016-03-18 20:01:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (23.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.3ms) Completed 200 OK in 43ms (Views: 37.8ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-03-18 20:01:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.1ms) Completed 200 OK in 43ms (Views: 37.6ms | ActiveRecord: 1.3ms) Started GET "/" for ::1 at 2016-03-19 10:43:40 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (18.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms) Completed 200 OK in 697ms (Views: 684.3ms | ActiveRecord: 0.0ms) Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:43:41 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:43:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.7ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1148.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (18.6ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (49.9ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1248.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 1465ms (Views: 1368.5ms | ActiveRecord: 4.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:43:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.8ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.9ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (92.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (111.8ms) Completed 200 OK in 137ms (Views: 117.8ms | ActiveRecord: 4.0ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:43:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (211.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (262.1ms) Completed 200 OK in 345ms (Views: 318.2ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:43:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.3ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (16.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (55.9ms) Completed 200 OK in 71ms (Views: 62.8ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:45:28 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.1ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (45.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 309ms (Views: 163.7ms | ActiveRecord: 3.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:45:29 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:45:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (54.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (68.6ms) Completed 200 OK in 85ms (Views: 75.1ms | ActiveRecord: 3.2ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:45:32 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (158.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (207.1ms) Completed 200 OK in 271ms (Views: 256.8ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:45:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered inline template (0.5ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:45:35 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 169ms (Views: 161.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:45:35 +0100 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-03-19 10:45:48 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (69.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (80.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 222ms (Views: 213.4ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-03-19 10:45:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (43.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 199ms (Views: 191.4ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:45:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.1ms) Completed 200 OK in 41ms (Views: 37.3ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:45:54 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (2.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (286.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (363.5ms) Completed 200 OK in 422ms (Views: 412.6ms | ActiveRecord: 3.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:45:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered inline template (0.6ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:45:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (48.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 183ms (Views: 170.0ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:45:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:45:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:46:00 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:49:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (1.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 976ms (Views: 824.0ms | ActiveRecord: 3.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:49:08 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:49:09 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:49:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (69.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (81.6ms) Completed 200 OK in 93ms (Views: 85.6ms | ActiveRecord: 2.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:49:15 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:49:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.2ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.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/invoices/_list.html.slim (10.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 613ms (Views: 606.8ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:49:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:49:30 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:49:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (28.8ms) Completed 200 OK in 41ms (Views: 35.0ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:52:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (46.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 635ms (Views: 629.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:52:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:52:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:52:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:52:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:52:20 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:52:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (25.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.4ms) Completed 200 OK in 46ms (Views: 38.9ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:52:30 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 592ms (Views: 586.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:52:30 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:52:31 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (40.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 184ms (Views: 178.1ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:52:31 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:52:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (60.4ms) Completed 200 OK in 73ms (Views: 66.5ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:52:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.4ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 599ms (Views: 593.4ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:52:53 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:52:53 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:52:53 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:52:54 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:52:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (47.8ms) Completed 200 OK in 61ms (Views: 54.0ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:53:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 581ms (Views: 572.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:54:00 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:54:01 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:54:05 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 573ms (Views: 567.3ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:54:06 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:54:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (50.6ms) Completed 200 OK in 67ms (Views: 58.4ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:54:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (142.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (189.6ms) Completed 200 OK in 253ms (Views: 240.8ms | ActiveRecord: 2.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:54:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (48.9ms) Completed 200 OK in 63ms (Views: 55.6ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:54:58 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 576ms (Views: 570.4ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:54:59 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:55:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.6ms) Completed 200 OK in 43ms (Views: 38.5ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:55:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (163.4ms) Completed 200 OK in 221ms (Views: 213.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:55:17 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (48.3ms) Completed 200 OK in 64ms (Views: 55.5ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:55:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.5ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (33.9ms) Completed 200 OK in 42ms (Views: 37.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:55:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (125.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (171.5ms) Completed 200 OK in 229ms (Views: 220.9ms | ActiveRecord: 1.4ms) Started PATCH "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:55:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TjQoyu2w6a+JLkX/Tdn4zji2Ft61JYGThgqBoO8o9uSECddO5erEtOaYD/B6M3GGS7sk+T2B63Wk5cBcgpGRQQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00", "id"=>"4"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices", "id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]  (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", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 4 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["updated_at", "2016-03-19 09:55:47.401209"], ["id", 4]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["updated_at", "2016-03-19 09:55:47.404269"], ["id", 4]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:55:47 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (41.3ms) Completed 200 OK in 52ms (Views: 45.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:55:53 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (20.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.4ms) Completed 200 OK in 44ms (Views: 37.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:55:57 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (127.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (177.1ms) Completed 200 OK in 239ms (Views: 230.4ms | ActiveRecord: 1.6ms) Started PATCH "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:56:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cYeO63+Tek/04yJCqX7R5wfnuMVjojGT5YEHwWGcA9C7unFvd8lXVJtVaE2elFivdOqK4usGW3XHbkY9DCVkdQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00", "id"=>"4"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices", "id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]  (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", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 4 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["updated_at", "2016-03-19 09:56:04.046692"], ["id", 4]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["updated_at", "2016-03-19 09:56:04.048169"], ["id", 4]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (2.5ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 24ms (ActiveRecord: 3.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:56:04 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (42.0ms) Completed 200 OK in 51ms (Views: 45.9ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:56:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (1.6ms) Completed 200 OK in 629ms (Views: 609.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:56:21 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:56:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (48.4ms) Completed 200 OK in 63ms (Views: 55.1ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:56:25 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (118.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (163.3ms) Completed 200 OK in 222ms (Views: 213.1ms | ActiveRecord: 1.7ms) Started PATCH "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:56:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"chkBf3TGBUZvsFsWJEQUh6oPDc/Jv4PAX2qfYpiBer24JP77fJwoXQAGERkTrp3P2QI/6EEb6SZ9hd6e9TgdGA==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00", "id"=>"4"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices", "id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]  (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", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 4 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["updated_at", "2016-03-19 09:56:29.448098"], ["id", 4]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["updated_at", "2016-03-19 09:56:29.450049"], ["id", 4]] Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (3.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 4.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:56:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.9ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.9ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (42.7ms) Completed 200 OK in 52ms (Views: 46.2ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:57:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (11.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (52.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 606ms (Views: 599.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:57:38 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:57:38 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:57:39 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:57:40 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:57:41 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.1ms) Completed 200 OK in 43ms (Views: 36.0ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:57:43 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (122.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (169.4ms) Completed 200 OK in 230ms (Views: 220.7ms | ActiveRecord: 1.5ms) Started PATCH "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:57:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gcgVtAm56xxcjNtBrI8JI1r+zvQkv63xZ0KL0iqtjg9L9eowAePGBzM6kU6bZYBrKfP806wbxxdFrcouRxTpqg==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"18/03/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Bombons en sucre", "quantity"=>"3,20", "unit"=>"", "unit_price"=>"14,00", "id"=>"4"}}, "payment_term_id"=>"1", "due_date"=>"17/04/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices", "id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]  (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", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 4 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["updated_at", "2016-03-19 09:57:45.422996"], ["id", 4]] SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 3.2], ["unit_price", 14.0], ["vat_rate", 20.0], ["updated_at", "2016-03-19 09:57:45.424788"], ["id", 4]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (3.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 5.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:57:45 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (39.4ms) Completed 200 OK in 49ms (Views: 43.3ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 10:59:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 600ms (Views: 594.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 10:59:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 10:59:52 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:59:52 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.9ms) Completed 200 OK in 42ms (Views: 37.2ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 10:59:56 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (36.5ms) Completed 200 OK in 51ms (Views: 44.0ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 10:59:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (120.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (165.7ms) Completed 200 OK in 230ms (Views: 220.6ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:00:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (34.7ms) Completed 200 OK in 49ms (Views: 42.5ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:00:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (123.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (173.8ms) Completed 200 OK in 233ms (Views: 224.6ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:00:08 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (63.9ms) Completed 200 OK in 78ms (Views: 70.2ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:00:13 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 171ms (Views: 165.7ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:00:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:00:13 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:00:13 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:00:14 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:02:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.4ms) Completed 200 OK in 40ms (Views: 35.1ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:02:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (26.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (32.9ms) Completed 200 OK in 41ms (Views: 36.7ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:03:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.4ms) Completed 200 OK in 47ms (Views: 40.6ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:03:42 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (163.9ms) Completed 200 OK in 223ms (Views: 215.1ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:03:50 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.9ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (46.3ms) Completed 200 OK in 60ms (Views: 52.0ms | ActiveRecord: 1.9ms) Started GET "/dorsale/small_data/filters" for ::1 at 2016-03-19 11:03:53 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/small_data/filters"): 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.text.erb (0.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.text.erb (27.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:03:57 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:04:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 581ms (Views: 574.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:04:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:04:07 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:06:11 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (30.1ms) Completed 200 OK in 43ms (Views: 36.5ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:06:14 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (125.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (172.7ms) Completed 200 OK in 234ms (Views: 224.6ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:06:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (18.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (51.4ms) Completed 200 OK in 66ms (Views: 57.2ms | ActiveRecord: 2.0ms) Started GET "/dorsale/small_data/filters" for ::1 at 2016-03-19 11:06:17 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale/small_data/filters"): 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.text.erb (0.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.text.erb (25.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:07:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 594ms (Views: 588.7ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:07:04 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:07:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (24.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (31.9ms) Completed 200 OK in 45ms (Views: 38.1ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:07:10 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (125.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (172.0ms) Completed 200 OK in 230ms (Views: 220.7ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:07:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.9ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (46.2ms) Completed 200 OK in 69ms (Views: 50.6ms | ActiveRecord: 3.1ms) Started POST "/dorsale/small_data/filters" for ::1 at 2016-03-19 11:07:19 +0100 Processing by Dorsale::SmallData::FiltersController#create as HTML Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:07:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.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 LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (40.7ms) Completed 200 OK in 52ms (Views: 44.7ms | ActiveRecord: 1.4ms) Started POST "/dorsale/small_data/filters" for ::1 at 2016-03-19 11:07:22 +0100 Processing by Dorsale::SmallData::FiltersController#create as HTML Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:07:22 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (40.1ms) Completed 200 OK in 53ms (Views: 44.0ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:08:00 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 589ms (Views: 583.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:08:00 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:08:01 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:08:02 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.8ms) Completed 200 OK in 48ms (Views: 40.9ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:08:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (119.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (163.6ms) Completed 200 OK in 224ms (Views: 215.5ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:08:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (20.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim (52.8ms) Completed 200 OK in 67ms (Views: 58.7ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-03-19 11:08:07 +0100 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (120.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim (172.4ms) Completed 200 OK in 235ms (Views: 226.0ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:09:12 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (3.8ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 634ms (Views: 626.8ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:09:12 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:09:12 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:09:12 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:09:13 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:09:16 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (27.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 181ms (Views: 174.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:09:19 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:09:20 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (52.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 210ms (Views: 204.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:09:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:09:21 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:09:23 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (19.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (26.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 173ms (Views: 167.8ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:09:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.8ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (44.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 215ms (Views: 209.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:09:50 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:09:58 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 183ms (Views: 177.6ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:09:58 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:09:59 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (17.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 161ms (Views: 156.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:10:01 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (39.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 178ms (Views: 171.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:10:01 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:10:03 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (17.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (26.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 153ms (Views: 147.5ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:10:19 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (18.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (25.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 165ms (Views: 161.3ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:10:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:10:20 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:10:29 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (22.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 589ms (Views: 581.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:10:30 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:10:33 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (19.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (50.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 182ms (Views: 175.5ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:11:06 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (15.2ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (10.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (58.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 655ms (Views: 648.8ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:11:06 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:11:07 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:11:09 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (11.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (57.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (72.5ms) Completed 200 OK in 90ms (Views: 80.9ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-03-19 11:11:37 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 180ms (Views: 174.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-03-19 11:11:37 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-03-19 11:11:38 +0100 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-03-19 11:11:38 +0100 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (27.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim (35.3ms) Completed 200 OK in 45ms (Views: 39.9ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-03-19 11:11:39 +0100 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (137.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim (187.2ms) Completed 200 OK in 245ms (Views: 238.0ms | ActiveRecord: 1.3ms)