(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) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddUserOnExpenseGunExpense (20160317124838)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "dorsale_expense_gun_expenses" ADD "user_id" integer SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160317124838"]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.2ms) 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_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.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)  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.2ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.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.2ms)  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-04-07 09:08:31 +0200 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (16.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 7146ms (Views: 7134.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:08:38 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:09:13 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (1.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1250.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (17.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (51.8ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1353.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 1583ms (Views: 1521.9ms | ActiveRecord: 5.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:09:19 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (1.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (15.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (96.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (108.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 283ms (Views: 267.1ms | ActiveRecord: 3.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:09:25 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (125.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (135.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.5ms) Completed 200 OK in 307ms (Views: 285.7ms | ActiveRecord: 2.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:10:17 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 175ms (Views: 170.8ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:22:40 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (47.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 310ms (Views: 188.0ms | ActiveRecord: 3.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:22:41 +0200 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:22:50 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (44.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (52.1ms) Completed 500 Internal Server Error in 227ms (ActiveRecord: 3.8ms) ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = euros line.unit_price 17: 18: td.line-total 19: = euros line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157735067840' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157735067840' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (88.4ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:23:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (58.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (65.7ms) Completed 500 Internal Server Error in 261ms (ActiveRecord: 3.8ms) ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = euros line.unit_price 17: 18: td.line-total 19: = euros line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (89.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:03 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (15.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (22.6ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.7ms) ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = euros line.unit_price 17: 18: td.line-total 19: = euros line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (71.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (82.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (89.7ms) Completed 500 Internal Server Error in 149ms (ActiveRecord: 3.4ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157834062660' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.5ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:35 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (32.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (50.0ms) Completed 500 Internal Server Error in 94ms (ActiveRecord: 1.3ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157834062660' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:05 +0200 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (70.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (156.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (1181.5ms) Completed 500 Internal Server Error in 1307ms (ActiveRecord: 4.9ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (90.0ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:08 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (28.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (49.3ms) Completed 500 Internal Server Error in 96ms (ActiveRecord: 1.3ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (84.3ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:38 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (75.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (120.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (129.1ms) Completed 500 Internal Server Error in 322ms (ActiveRecord: 7.2ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (86.7ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:01 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (35.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (42.8ms) Completed 500 Internal Server Error in 214ms (ActiveRecord: 3.6ms) ActionView::Template::Error (undefined method `t' for Dorsale::AllHelpers:Module): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/text_helper.rb:13:in `currency' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (87.2ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:20 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (46.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (55.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.3ms) Completed 200 OK in 733ms (Views: 593.4ms | ActiveRecord: 4.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:26:22 +0200 Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:40 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (64.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (116.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (123.4ms) Completed 500 Internal Server Error in 376ms (ActiveRecord: 6.1ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (84.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (30.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (50.8ms) Completed 500 Internal Server Error in 97ms (ActiveRecord: 1.2ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (85.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:56 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (78.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (111.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (118.7ms) Completed 500 Internal Server Error in 304ms (ActiveRecord: 6.0ms) ActionView::Template::Error (undefined method `currency' for #): 13: = percentage(line.vat_rate) 14: 15: td.line-unit_price 16: = bm_currency line.unit_price 17: 18: td.line-total 19: = bm_currency line.total /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (83.9ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:27:09 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (49.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 331ms (Views: 195.9ms | ActiveRecord: 3.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:27:10 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:27:12 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (203.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (214.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.8ms) Completed 200 OK in 404ms (Views: 387.7ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:29:11 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (25.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 178ms (Views: 174.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:12 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (55.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (62.9ms) Completed 500 Internal Server Error in 111ms (ActiveRecord: 1.7ms) ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::BillingMachine): 67: 68: td.commercial_discount 69: = f.text_field :commercial_discount, class: "number" 70: span.unit = BillingMachine.default_currency 71: 72: tr 73: th.total_excluding_taxes-label /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:70:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148485802900' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.6) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/form_helper.rb:41:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148485802900' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_edit_html_slim__4586206233835234981_70148487096860' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (83.1ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (68.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.6ms) Completed 500 Internal Server Error in 120ms (ActiveRecord: 1.2ms) ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::BillingMachine): 67: 68: td.commercial_discount 69: = f.text_field :commercial_discount, class: "number" 70: span.unit = BillingMachine.default_currency 71: 72: tr 73: th.total_excluding_taxes-label /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:70:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148463364640' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer' actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.4) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.6) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/form_helper.rb:41:in `horizontal_form_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148463364640' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_edit_html_slim__4586206233835234981_70148417227480' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.3ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:24 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (54.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 223ms (Views: 216.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:25 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:46 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (43.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 217.0ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:47 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:30:07 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (51.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 227ms (Views: 220.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:30:08 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:04 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 385ms (Views: 232.5ms | ActiveRecord: 4.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:05 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:17 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (71.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 378ms (Views: 226.2ms | ActiveRecord: 6.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:18 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:37 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (72.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 398ms (Views: 249.6ms | ActiveRecord: 4.9ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:39 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:50 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (78.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 385ms (Views: 233.4ms | ActiveRecord: 5.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:51 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:55 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:32:21 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 195ms (Views: 189.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:32:21 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:32:22 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:07 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 244ms (Views: 236.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:08 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 244ms (Views: 236.9ms | ActiveRecord: 1.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:33:11 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (97.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 434ms (Views: 274.6ms | ActiveRecord: 4.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:33:44 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:34:29 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (93.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 410ms (Views: 261.8ms | ActiveRecord: 4.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:34:30 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:35:36 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (97.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (101.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 420ms (Views: 258.0ms | ActiveRecord: 4.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:35:38 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:38:46 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (88.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 379ms (Views: 241.7ms | ActiveRecord: 4.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:38:48 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:39:02 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (80.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 417ms (Views: 254.0ms | ActiveRecord: 4.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:39:04 +0200 Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:39:13 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"4"} Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (77.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 389ms (Views: 237.7ms | ActiveRecord: 5.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:39:15 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:39:15 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:28 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (33.1ms) Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.7ms) ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): 1: .well 2: .row.text-center 3: .col-md-4 4: = info ::Dorsale::BillingMachine::Quotation, :total_excluding_taxes, euros(@total_excluding_taxes) 5: .col-md-4 6: = info ::Dorsale::BillingMachine::Quotation, :vat_amount, euros(@vat_amount) 7: .col-md-4 /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__header_infos_html_slim__3666411904477734388_70148458441700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__2557712258513235793_70148421055080' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:41:in `index' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.8ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (88.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (19.8ms) Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.5ms) ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): 1: .well 2: .row.text-center 3: .col-md-4 4: = info ::Dorsale::BillingMachine::Quotation, :total_excluding_taxes, euros(@total_excluding_taxes) 5: .col-md-4 6: = info ::Dorsale::BillingMachine::Quotation, :vat_amount, euros(@vat_amount) 7: .col-md-4 /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__header_infos_html_slim__3666411904477734388_70148458441700' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__2557712258513235793_70148421055080' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:41:in `index' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (80.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:34 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (7.0ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (20.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (59.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 225ms (Views: 217.6ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:40:35 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:41:32 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4543ms (Views: 4537.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:41:37 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:41:43 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4339ms (Views: 4332.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:41:48 +0200 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-07 09:41:53 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (34.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 195ms (Views: 189.8ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:42:53 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.4ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (64.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 224ms (Views: 218.0ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:42:56 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (4.3ms) Completed 200 OK in 194ms (Views: 4.2ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:42:57 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.7ms) Completed 200 OK in 78ms (Views: 0.5ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:43:34 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.9ms) Completed 200 OK in 1092ms (Views: 0.8ms | ActiveRecord: 4.8ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:43:35 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::PaymentTerm Load (1.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.9ms) Completed 200 OK in 127ms (Views: 0.8ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-07 09:45:15 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (52.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 328ms (Views: 194.9ms | ActiveRecord: 3.6ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:45:16 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:46:05 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (79.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (87.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 408ms (Views: 251.3ms | ActiveRecord: 4.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:46:11 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:47:02 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4427ms (Views: 4418.9ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:47:07 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:48:07 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4179ms (Views: 4173.7ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:48:11 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:48:20 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (38.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4348ms (Views: 4341.4ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:48:25 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:50:00 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4089ms (Views: 4082.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:50:04 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:50:28 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4391ms (Views: 4383.7ms | ActiveRecord: 1.2ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:50:33 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:51:17 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4157ms (Views: 4149.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:51:22 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:51:29 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (45.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4377ms (Views: 4370.4ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:51:33 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:51:34 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:52:08 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4151ms (Views: 4145.9ms | ActiveRecord: 1.1ms) Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:52:13 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:52:47 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 227.7ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:52:48 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:53:53 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (1.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.5ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (83.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 436ms (Views: 268.7ms | ActiveRecord: 5.9ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:53:54 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:54:18 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (75.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (80.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 376ms (Views: 232.2ms | ActiveRecord: 5.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:54:19 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:55:43 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:09 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4329ms (Views: 4321.6ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:13 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:29 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 4252ms (Views: 4246.2ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:34 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:57 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 206.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:58 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:01:24 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4444ms (Views: 4436.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:01:28 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:01:29 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:02:57 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4291ms (Views: 4285.1ms | ActiveRecord: 1.2ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:02 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:14 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4263ms (Views: 4254.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:19 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:53 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 243ms (Views: 236.0ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:53 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:54 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:59 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 255ms (Views: 247.0ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:00 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:04:11 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (42.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4351ms (Views: 4341.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:16 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:04:19 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 5281ms (Views: 5274.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:25 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:21 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4167ms (Views: 4161.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:25 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:26 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:35 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4548ms (Views: 4539.6ms | ActiveRecord: 1.4ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:41 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:50 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 4742ms (Views: 4736.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:55 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:01 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (44.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4758ms (Views: 4751.9ms | ActiveRecord: 1.2ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:06 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:08 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (30.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (35.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 204ms (Views: 198.4ms | ActiveRecord: 1.1ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:08 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:13 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4202ms (Views: 4196.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:17 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:07:06 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (65.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 351ms (Views: 225.0ms | ActiveRecord: 4.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:07:06 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:07:06 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:07:07 +0200 Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:07:08 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (38.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 225ms (Views: 218.2ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:07:09 +0200 Started GET "/" for ::1 at 2016-04-12 12:18:35 +0200 ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.0ms) Completed 200 OK in 5894ms (Views: 5880.8ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:18:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:18:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:18:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:18:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:18:41 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:18:42 +0200 Started GET "/" for ::1 at 2016-04-12 12:18:47 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 5ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:18:48 +0200 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.0ms) 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 (45.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (1.0ms) Completed 200 OK in 262ms (Views: 243.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:18:49 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:19:59 +0200 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.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (11.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 155ms (Views: 152.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:20:00 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:20:21 +0200 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.6ms) 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4113ms (Views: 4111.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:20:25 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:20:26 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:20:41 +0200 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.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 171ms (Views: 170.1ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:20:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:20:42 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:20:57 +0200 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.6ms) 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.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 163ms (Views: 162.1ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:20:57 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-04-12 12:21:11 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:12 +0200 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.6ms) 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 (14.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 156ms (Views: 155.0ms | ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-04-12 12:21:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:28 +0200 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.6ms) 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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 162ms (Views: 160.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:21:28 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:21:28 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:21:28 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:21:29 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:37 +0200 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 (11.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 165ms (Views: 163.9ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:21:37 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-04-12 12:21:47 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:47 +0200 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.5ms) Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 161ms (Views: 158.7ms | ActiveRecord: 0.0ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2016-04-12 12:21:48 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:48 +0200 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.6ms) 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.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 153ms (Views: 151.9ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2016-04-12 12:21:50 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:21:50 +0200 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.6ms) 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 (14.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 175ms (Views: 173.1ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2016-04-12 12:22:12 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:22:12 +0200 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.6ms) 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.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 176ms (Views: 175.2ms | ActiveRecord: 0.0ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:22:13 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:25:52 +0200 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.8ms) Rendered devise/sessions/new.html.erb within layouts/application (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 160ms (Views: 158.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:25:52 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:25:53 +0200 Started POST "/users/sign_in" for ::1 at 2016-04-12 12:25:59 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XqkGtTfwjh6N0+l+utoUSYi5zuzRPbphTYXYn7tNWyczM5O6P2Ht6jZaHpnXWIoJRDmWQrtWdqO+ONMCS4BMVA==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]] Completed 401 Unauthorized in 21ms (ActiveRecord: 0.8ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XqkGtTfwjh6N0+l+utoUSYi5zuzRPbphTYXYn7tNWyczM5O6P2Ht6jZaHpnXWIoJRDmWQrtWdqO+ONMCS4BMVA==", "user"=>{"email"=>"demo@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 devise/sessions/new.html.erb within layouts/application (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 297ms (Views: 191.0ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:25:59 +0200  (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  (2.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)  (1.6ms) 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.9ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.2ms) 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.8ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.0ms) 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.4ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (3.1ms) 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.3ms) 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.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.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.1ms) 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.1ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.8ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.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.1ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (3.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.1ms) 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.0ms) 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.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (1.5ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (1.1ms) 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.3ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.1ms) 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.7ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.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)   (2.3ms) DROP TABLE "dorsale_customer_vault_links"  (1.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.3ms) 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.5ms) 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.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (2.5ms) DROP TABLE "dorsale_expense_gun_categories"  (1.3ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)   (2.5ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.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)   (1.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.2ms)  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'   (1.0ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.3ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.0ms) 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, "user_id" integer)  (2.1ms) DROP TABLE "dorsale_flyboy_folders"  (1.1ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (1.3ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (2.1ms) 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.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (2.1ms) 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.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (1.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.3ms) DROP TABLE "dummy_models"  (1.3ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.3ms) 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.3ms) 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")  (2.0ms) 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")  (1.7ms) DROP TABLE "users"  (1.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)   (1.2ms) 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"  (2.2ms) DROP TABLE "dorsale_addresses"  (1.7ms) 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)   (6.5ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.3ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)   (1.7ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.3ms) 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.6ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.2ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)   (0.1ms) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (2.9ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.6ms) 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.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (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.0ms) 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"  (6.8ms) 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.6ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (3.4ms) 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.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'  (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.3ms) 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.4ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.4ms) 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.2ms) DROP TABLE "dorsale_customer_vault_individuals"  (2.5ms) 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.2ms) DROP TABLE "dorsale_customer_vault_links"  (1.1ms) 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.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (1.2ms) 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.0ms) 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.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.8ms) DROP TABLE "dorsale_expense_gun_categories"  (1.5ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (2.6ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (2.2ms) 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)  (1.9ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms) 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'  (1.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.5ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.1ms) 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, "user_id" integer)   (2.0ms) DROP TABLE "dorsale_flyboy_folders"  (2.4ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (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.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (2.4ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.0ms) 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.6ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (2.6ms) DROP TABLE "dorsale_flyboy_tasks"  (1.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)   (1.4ms) 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.4ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.5ms) DROP TABLE "dummy_models"  (1.1ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.0ms) DROP TABLE "taggings"  (1.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (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.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.8ms) DROP TABLE "tags"  (1.1ms) 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")  (2.0ms) 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.5ms) 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.5ms) SELECT version FROM "schema_migrations"  (1.5ms) DROP TABLE "dorsale_addresses"  (1.6ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar)  (1.5ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.5ms) 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.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.4ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.2ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (2.6ms) 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.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (2.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.3ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.5ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.6ms) 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.5ms) 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.2ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.3ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.1ms) 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.0ms) 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.0ms) 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.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"  (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)   (3.9ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.3ms) 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.3ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.4ms) 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.8ms) DROP TABLE "dorsale_customer_vault_links"  (1.4ms) 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.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (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.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.3ms) 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.5ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.4ms) DROP TABLE "dorsale_expense_gun_categories"  (1.6ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)   (1.5ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.2ms) 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)   (1.2ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.2ms)  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'   (1.2ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.1ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.1ms) 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, "user_id" integer)  (1.3ms) DROP TABLE "dorsale_flyboy_folders"  (1.2ms) 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.1ms) 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'  (2.5ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.1ms) 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.6ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.6ms) DROP TABLE "dorsale_flyboy_tasks"  (1.8ms) 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)  (4.3ms) 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")  (0.9ms) 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.4ms) DROP TABLE "taggings"  (1.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (1.1ms) 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.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.2ms) DROP TABLE "tags"  (1.3ms) 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.1ms) DROP TABLE "users"  (1.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.2ms) 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.1ms) 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.0ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.3ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)   (1.3ms) 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)   (3.6ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.8ms) 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.4ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.2ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.2ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)   (1.2ms) 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.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.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (1.2ms) 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"  (2.6ms) 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.2ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.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)   (13.4ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (8.1ms) DROP TABLE "dorsale_billing_machine_quotations"  (3.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.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (1.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (2.6ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.2ms)  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.1ms) 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.0ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.9ms) 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.3ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.5ms) 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.7ms) DROP TABLE "dorsale_customer_vault_links"  (1.7ms) 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.6ms) 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'  (1.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.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.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_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.2ms) DROP TABLE "dorsale_expense_gun_categories"  (1.1ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.4ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.2ms) 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)  (1.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms) 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'  (1.4ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.2ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.0ms) 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, "user_id" integer)   (1.4ms) DROP TABLE "dorsale_flyboy_folders"  (1.2ms) 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.3ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.2ms) DROP TABLE "dorsale_flyboy_task_comments"  (0.9ms) 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")  (1.2ms) DROP TABLE "dorsale_flyboy_tasks"  (1.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)   (1.2ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.3ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.3ms) 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)  (1.6ms) DROP TABLE "taggings"  (1.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (1.4ms) 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.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.2ms) DROP TABLE "tags"  (1.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (2.9ms) 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)  (1.1ms) 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.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) 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.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (1.2ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (1.3ms) DELETE FROM "dorsale_billing_machine_quotations";  (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_quotations';  (0.9ms) 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.7ms) 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';  (1.0ms) DELETE FROM "dorsale_customer_vault_links";  (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_links';  (1.0ms) DELETE FROM "dorsale_expense_gun_categories";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (1.0ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.8ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (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';  (0.8ms) 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.8ms) 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.7ms) 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.8ms) 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.2ms) 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.1ms) 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) 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.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';  (1.0ms) 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';  (1.0ms) 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';  (1.1ms) 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.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';  (1.1ms) DELETE FROM "dorsale_customer_vault_links";  (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_links';  (0.8ms) DELETE FROM "dorsale_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (0.9ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.9ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (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';  (0.8ms) 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.8ms) 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.1ms) 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 SQL (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$8RiHXhnWEDT90ft81Gu9seXnlWpzdu1ItgI8RCCn7I1baYGE.xtlC"], ["is_active", "t"], ["created_at", "2016-04-12 10:27:17.657148"], ["updated_at", "2016-04-12 10:27:17.657148"]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 6ab44dd7-4993-4565-aeae-e57f2023f2b8) 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] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password" [ActiveJob] [ActionMailer::DeliveryJob] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (18.2ms) [ActiveJob] [ActionMailer::DeliveryJob] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Dorsale::UserMailer#new_account: processed outbound mail in 361.4ms [ActiveJob] [ActionMailer::DeliveryJob] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Sent mail to demo@agilidee.com (60.9ms) [ActiveJob] [ActionMailer::DeliveryJob] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Date: Tue, 12 Apr 2016 12:27:19 +0200 From: example@example.org To: demo@agilidee.com Message-ID: <570ccd87177ca_5cde3fe8b585e200863b5@tiramisu-2.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: demo@agilidee.com

Votre mot de passe est: password

= [ActiveJob] [ActionMailer::DeliveryJob] [6ab44dd7-4993-4565-aeae-e57f2023f2b8] Performed ActionMailer::DeliveryJob from Inline(mailers) in 1406.91ms  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) 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-04-12 10:27:19.184155"], ["updated_at", "2016-04-12 10:27:19.184155"]]  (1.1ms) 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-04-12 10:27:19.192426"], ["updated_at", "2016-04-12 10:27:19.192426"]]  (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-04-12 10:27:19.269188"], ["updated_at", "2016-04-12 10:27:19.269188"]] 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-04-12 10:27:19.271530"], ["updated_at", "2016-04-12 10:27:19.271530"]] 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-04-12 10:27:19.405104"]] 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.6ms) 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-05-12"], ["date", "2016-04-12"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-04-12 10:27:19.449288"], ["updated_at", "2016-04-12 10:27:19.449288"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.2ms) 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-04-12 10:27:19.453744"], ["updated_at", "2016-04-12 10:27:19.453744"]] 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.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) 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-04-12 10:27:19.470042"], ["updated_at", "2016-04-12 10:27:19.470042"]] 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", 2], ["created_at", "2016-04-12 10:27:19.473138"], ["updated_at", "2016-04-12 10:27:19.473138"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.2ms) 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.9ms) 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-04-12 10:27:19.484464"]] 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" = 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-04-12 10:27:19.492301"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) 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]] SQL (0.4ms) INSERT INTO "dorsale_comments" ("text", "author_id", "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_id", 1], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-04-12 10:27:19.510872"], ["updated_at", "2016-04-12 10:27:19.510872"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (2.1ms) 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-04-12"], ["expires_at", "2016-05-12"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-04-12 10:27:19.548479"], ["updated_at", "2016-04-12 10:27:19.548479"], ["unique_index", 1], ["tracking_id", "2016-01"]] SQL (0.9ms) 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-04-12 10:27:19.553652"], ["updated_at", "2016-04-12 10:27:19.553652"]] Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["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-04-12 10:27:19.563388"], ["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-04-12 10:27:19.566303"], ["updated_at", "2016-04-12 10:27:19.566303"]] Dorsale::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-04-12 10:27:19.572059"], ["id", 1]]  (1.4ms) 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-04-12 10:27:19.594099"], ["updated_at", "2016-04-12 10:27:19.594099"]] 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::Individual"], ["addressable_id", 1], ["created_at", "2016-04-12 10:27:19.596341"], ["updated_at", "2016-04-12 10:27:19.596341"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.2ms) 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-04-12 10:27:19.605976"]] 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-04-12 10:27:19.610654"]] 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.2ms) 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-04-12 10:27:19.618656"], ["updated_at", "2016-04-12 10:27:19.618656"]] 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-04-12 10:27:19.620399"], ["updated_at", "2016-04-12 10:27:19.620399"]] ActsAsTaggableOn::Tag Load (5.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.2ms) 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-04-12 10:27:19.637200"]] 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-04-12 10:27:19.642524"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) 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.2ms) 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-04-12 10:27:19.647882"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.2ms) commit transaction  (0.2ms) begin transaction Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "dorsale_comments" ("text", "author_id", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["author_id", 1], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-04-12 10:27:19.657524"], ["updated_at", "2016-04-12 10:27:19.657524"]]  (1.0ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-04-12') 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-04-12 10:27:19.670613"], ["updated_at", "2016-04-12 10:27:19.670613"], ["tracking", "160412-1"]]  (0.9ms) 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.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-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:19.690765"], ["updated_at", "2016-04-12 10:27:19.690765"]]  (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-04-12 10:27:19.695981"], ["id", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_id", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["author_id", 1], ["author_type", "User"], ["task_id", 1], ["date", "2016-04-12 10:27:19.710150"], ["created_at", "2016-04-12 10:27:19.711048"], ["updated_at", "2016-04-12 10:27:19.711048"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-04-12 10:27:19.712921"], ["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.3ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-04-12 10:27:19.716774"], ["id", 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", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["done", "f"], ["reminder", "2016-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:19.722125"], ["updated_at", "2016-04-12 10:27:19.722125"]]  (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-04-12 10:27:19.726406"], ["id", 1]]  (1.1ms) 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-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:19.729977"], ["updated_at", "2016-04-12 10:27:19.729977"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_id", "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_id", 1], ["author_type", "User"], ["task_id", 3], ["date", "2016-04-12 10:27:19.734428"], ["created_at", "2016-04-12 10:27:19.735359"], ["updated_at", "2016-04-12 10:27:19.735359"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-04-12 10:27:19.737142"], ["id", 3]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.9ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (0.7ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (0.8ms) DELETE FROM "dorsale_billing_machine_quotations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';  (0.8ms) DELETE FROM "dorsale_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) 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.8ms) 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.8ms) 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_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (0.9ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (1.0ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (0.8ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';  (0.7ms) 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';  (1.0ms) DELETE FROM "taggings";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'taggings';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'users';  (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 "users" ("email", "encrypted_password", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$BxzxBf.DQvfChZkfE5rMaee42JCS1xYyXZdY1ZEz2MceIQIT3YreG"], ["is_active", "t"], ["created_at", "2016-04-12 10:27:19.865641"], ["updated_at", "2016-04-12 10:27:19.865641"]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: fc059c89-5dd1-4da2-a1fb-50d950557260) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password" [ActiveJob] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password" [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (0.4ms) [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Dorsale::UserMailer#new_account: processed outbound mail in 58.5ms [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Sent mail to demo@agilidee.com (29.4ms) [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Date: Tue, 12 Apr 2016 12:27:19 +0200 From: example@example.org To: demo@agilidee.com Message-ID: <570ccd87e2eb7_5cde3fe8b585e20086458@tiramisu-2.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: demo@agilidee.com

Votre mot de passe est: password

= [ActiveJob] [ActionMailer::DeliveryJob] [fc059c89-5dd1-4da2-a1fb-50d950557260] Performed ActionMailer::DeliveryJob from Inline(mailers) in 88.5ms  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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-04-12 10:27:19.961750"], ["updated_at", "2016-04-12 10:27:19.961750"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2016-04-12 10:27:19.966415"], ["updated_at", "2016-04-12 10:27:19.966415"]]  (0.9ms) 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-04-12 10:27:19.974912"], ["updated_at", "2016-04-12 10:27:19.974912"]] 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-04-12 10:27:19.978659"], ["updated_at", "2016-04-12 10:27:19.978659"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (LOWER(name) = LOWER('client')) ActsAsTaggableOn::Tag Exists (0.2ms) 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.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.2ms) 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-04-12 10:27:19.990555"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.2ms) commit transaction  (23.4ms) 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-05-12"], ["date", "2016-04-12"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-04-12 10:27:20.024503"], ["updated_at", "2016-04-12 10:27:20.024503"], ["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-04-12 10:27:20.027288"], ["updated_at", "2016-04-12 10:27:20.027288"]] Dorsale::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.2ms) 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-04-12 10:27:20.037818"], ["updated_at", "2016-04-12 10:27:20.037818"]] 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", 2], ["created_at", "2016-04-12 10:27:20.040058"], ["updated_at", "2016-04-12 10:27:20.040058"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.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", 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.2ms) 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-04-12 10:27:20.049862"]] 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-04-12 10:27:20.053776"]] 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]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "author_id", "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_id", 1], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-04-12 10:27:20.061717"], ["updated_at", "2016-04-12 10:27:20.061717"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.3ms) 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-04-12"], ["expires_at", "2016-05-12"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-04-12 10:27:20.068278"], ["updated_at", "2016-04-12 10:27:20.068278"], ["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-04-12 10:27:20.070960"], ["updated_at", "2016-04-12 10:27:20.070960"]] Dorsale::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.3ms) 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-04-12 10:27:20.075474"], ["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-04-12 10:27:20.077237"], ["updated_at", "2016-04-12 10:27:20.077237"]] Dorsale::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-04-12 10:27:20.081619"], ["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-04-12 10:27:20.088759"], ["updated_at", "2016-04-12 10:27:20.088759"]] 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-04-12 10:27:20.090720"], ["updated_at", "2016-04-12 10:27:20.090720"]] 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.2ms) 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-04-12 10:27:20.099371"]] 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.2ms) 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-04-12 10:27:20.103336"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.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-04-12 10:27:20.110549"], ["updated_at", "2016-04-12 10:27:20.110549"]] 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-04-12 10:27:20.112441"], ["updated_at", "2016-04-12 10:27:20.112441"]] ActsAsTaggableOn::Tag Load (0.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.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "développeur"]] ActsAsTaggableOn::Tag Exists (0.2ms) 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-04-12 10:27:20.123202"]] 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-04-12 10:27:20.126870"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) 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-04-12 10:27:20.131518"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.1ms) commit transaction  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "author_id", "author_type", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["author_id", 1], ["author_type", "User"], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-04-12 10:27:20.139849"], ["updated_at", "2016-04-12 10:27:20.139849"]]  (0.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-04-12') 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-04-12 10:27:20.143192"], ["updated_at", "2016-04-12 10:27:20.143192"], ["tracking", "160412-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.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-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:20.148847"], ["updated_at", "2016-04-12 10:27:20.148847"]]  (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 "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2016-04-12 10:27:20.152650"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_id", "author_type", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["author_id", 1], ["author_type", "User"], ["task_id", 1], ["date", "2016-04-12 10:27:20.156930"], ["created_at", "2016-04-12 10:27:20.157627"], ["updated_at", "2016-04-12 10:27:20.157627"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-04-12 10:27:20.159306"], ["id", 1]]  (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"]]  (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.2ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-04-12 10:27:20.161903"], ["id", 1]]  (1.1ms) 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-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:20.166616"], ["updated_at", "2016-04-12 10:27:20.166616"]]  (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.2ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2016-04-12 10:27:20.170624"], ["id", 1]]  (1.2ms) 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-04-19"], ["term", "2016-05-12"], ["progress", 0], ["created_at", "2016-04-12 10:27:20.175532"], ["updated_at", "2016-04-12 10:27:20.175532"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "author_id", "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_id", 1], ["author_type", "User"], ["task_id", 3], ["date", "2016-04-12 10:27:20.180073"], ["created_at", "2016-04-12 10:27:20.180706"], ["updated_at", "2016-04-12 10:27:20.180706"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-04-12 10:27:20.182315"], ["id", 3]]  (1.2ms) commit transaction Started GET "/" for ::1 at 2016-04-12 12:27:23 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:27:23 +0200 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.6ms) Rendered devise/sessions/new.html.erb within layouts/application (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 163ms (Views: 160.9ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:27:23 +0200 Started POST "/users/sign_in" for ::1 at 2016-04-12 12:27:30 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tXZw4W2h2ep51FFVtF3taP+FswhbjkodKesIVt92FM7Y7OXuZTC6HsJdprLZ33MoMwXrpjHlht/aVgPLL7sDvQ==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]] Completed 401 Unauthorized in 93ms (ActiveRecord: 1.3ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tXZw4W2h2ep51FFVtF3taP+FswhbjkodKesIVt92FM7Y7OXuZTC6HsJdprLZ33MoMwXrpjHlht/aVgPLL7sDvQ==", "user"=>{"email"=>"demo@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.5ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 230ms (Views: 146.9ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:27:30 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:27:31 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:27:31 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:27:31 +0200 Started GET "/" for ::1 at 2016-04-12 12:27:35 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:27:35 +0200 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.6ms) Rendered devise/sessions/new.html.erb within layouts/application (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 152ms (Views: 151.2ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:27:35 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:27:36 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:27:36 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:27:36 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:27:36 +0200 Started GET "/" for ::1 at 2016-04-12 12:27:44 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:27:44 +0200 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.6ms) Rendered devise/sessions/new.html.erb within layouts/application (14.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 156ms (Views: 154.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for ::1 at 2016-04-12 12:27:47 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1yS6E6DHSqunOWyTNyKgUXD+TY1QE06cWsPguYQy/Ha6vi8cqFYpXxywm3RaoD4RvH4VIzp4gl6pfuskdP/rBQ==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]]  (0.1ms) begin transaction SQL (1.4ms) 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-04-12 10:27:47.452619"], ["current_sign_in_at", "2016-04-12 10:27:47.452619"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2016-04-12 10:27:47.454037"], ["id", 1]]  (2.3ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 124ms (ActiveRecord: 3.9ms) Started GET "/" for ::1 at 2016-04-12 12:27:47 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 124ms (Views: 121.7ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:27:47 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:27:48 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-04-12 12:27:53 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-04-12 12:27:53 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] 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 (4.5ms) 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 (20.7ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count 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 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (35.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (45.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."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/comments/_comment.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (11.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 (133.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms) Completed 200 OK in 371ms (Views: 259.9ms | ActiveRecord: 2.5ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2016-04-12 12:27:55 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (82.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Dorsale::Flyboy::Folder Load (0.4ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term < '2016-04-12')  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term > '2016-04-12' AND reminder < '2016-04-12') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (45.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (172.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 329ms (Views: 311.0ms | ActiveRecord: 1.9ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-04-12 12:27:55 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.9ms) 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.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.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/_list.html.slim (24.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (74.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 215ms (Views: 205.3ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-04-12 12:27:56 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (13.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (17.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (25.9ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (15.0ms)  (0.2ms) 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 (81.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 248ms (Views: 215.3ms | ActiveRecord: 1.7ms) Started GET "/" for ::1 at 2016-04-12 12:27:57 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (4.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 160ms (Views: 157.3ms | ActiveRecord: 0.1ms) Started GET "/dorsale/expense_gun/expenses" for ::1 at 2016-04-12 12:46:18 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/dorsale/expense_gun/expenses/state/submited Completed 302 Found in 5ms (ActiveRecord: 0.1ms) Started GET "/dorsale/expense_gun/expenses/state/submited" for ::1 at 2016-04-12 12:46:18 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#index as HTML Parameters: {"state"=>"submited"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.3ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "submited"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "new"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "accepted"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "refused"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "canceled"]]  (0.2ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" Dorsale::ExpenseGun::Expense Load (0.2ms) SELECT "dorsale_expense_gun_expenses".* FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? LIMIT 25 OFFSET 0 [["state", "submited"]] CACHE (0.0ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "submited"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/expense_gun/expenses/index.html.slim within layouts/application (34.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 196ms (Views: 190.7ms | ActiveRecord: 1.6ms) Started GET "/dorsale/expense_gun/expenses/new" for ::1 at 2016-04-12 12:46:19 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#new as HTML 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/expense_gun/expenses/_form.html.slim (13.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/expense_gun/expenses/new.html.slim within layouts/application (29.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 204ms (Views: 193.7ms | ActiveRecord: 0.3ms) Started POST "/dorsale/expense_gun/expenses" for ::1 at 2016-04-12 12:46:24 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8C/yNlB2Mn/YV1y+EhudI7z1A7U0AMGfuJtEtuqWsoWTq+6g0y0E6vUH08BFDE4q0XZX2SSfwYq74S+OJBtVnA==", "expense_gun_expense"=>{"name"=>"Lol", "date"=>"12/04/2016"}, "back_url"=>"http://localhost:3000/dorsale/expense_gun/expenses/new"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_expense_gun_expenses" ("name", "date", "user_id", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Lol"], ["date", "2016-04-12"], ["user_id", 1], ["state", "new"], ["created_at", "2016-04-12 10:46:24.556010"], ["updated_at", "2016-04-12 10:46:24.556010"]]  (2.1ms) commit transaction Redirected to http://localhost:3000/dorsale/expense_gun/expenses/1 Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/dorsale/expense_gun/expenses/1" for ::1 at 2016-04-12 12:46:24 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::ExpenseGun::Expense Load (0.2ms) SELECT "dorsale_expense_gun_expenses".* FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::ExpenseGun::ExpenseLine Load (0.2ms) SELECT "dorsale_expense_gun_expense_lines".* FROM "dorsale_expense_gun_expense_lines" WHERE "dorsale_expense_gun_expense_lines"."expense_id" = ? [["expense_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (20.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::ExpenseGun::Expense' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (41.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/expense_gun/expenses/show.html.slim within layouts/application (86.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 252ms (Views: 246.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:46:24 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:46:25 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-04-12 12:46:40 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-04-12 12:46:40 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1.5ms) 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.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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (15.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."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/comments/_comment.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (14.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 (84.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 301ms (Views: 294.6ms | ActiveRecord: 1.6ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-04-12 12:46:43 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (0.9ms) 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 (8.1ms)  (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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (14.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."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/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (13.7ms)  (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 (76.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 246ms (Views: 240.3ms | ActiveRecord: 1.6ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-04-12 12:46:44 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.1ms) 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.7ms) 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.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (10.6ms) ActsAsTaggableOn::Tag Load (0.3ms) 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 (33.4ms) 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 (4.3ms) 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 (13.0ms) 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"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (3.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (148.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 344ms (Views: 323.9ms | ActiveRecord: 2.2ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-04-12 12:46:48 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (10.0ms) 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"]] 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", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (51.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (66.2ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.2ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] Dorsale::CustomerVault::Link Load (0.2ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (24.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (12.7ms) Dorsale::Comment Load (0.4ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (23.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (57.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (69.8ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (15.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (39.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (53.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (288.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (301.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 467ms (Views: 459.0ms | ActiveRecord: 3.2ms) Started POST "/dorsale/comments" for ::1 at 2016-04-12 12:46:51 +0200 Processing by Dorsale::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DlGMT1vz8nCYVbKdWfeP7lqv5ZHzjCJiijZVjc9v3vtt1ZDZ2KjE5bUFPeMO4FznNyyx/eMTIneJTD61AeI54g==", "comment"=>{"commentable_id"=>"2", "commentable_type"=>"Dorsale::CustomerVault::Individual", "text"=>"coucou"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] SQL (0.5ms) INSERT INTO "dorsale_comments" ("commentable_id", "commentable_type", "text", "author_id", "author_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "coucou"], ["author_id", 1], ["author_type", "User"], ["created_at", "2016-04-12 10:46:51.115937"], ["updated_at", "2016-04-12 10:46:51.115937"]]  (1.7ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/2 Completed 302 Found in 21ms (ActiveRecord: 2.7ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-04-12 12:46:51 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (9.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", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (29.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (39.5ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] Dorsale::CustomerVault::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (14.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (8.8ms) Dorsale::Comment Load (0.5ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (20.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 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/comments/_list.html.slim (49.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (73.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (83.8ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.6ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (24.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (36.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (234.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (245.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (1.0ms) Completed 200 OK in 416ms (Views: 408.4ms | ActiveRecord: 2.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:46:51 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:46:52 +0200 Started GET "/" for ::1 at 2016-04-12 12:46:56 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 171ms (Views: 169.1ms | ActiveRecord: 0.1ms) Started GET "/" for ::1 at 2016-04-12 12:47:04 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:47:05 +0200 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.8ms) Rendered devise/sessions/new.html.erb within layouts/application (18.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 245ms (Views: 243.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:47:05 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:47:06 +0200 Started GET "/" for ::1 at 2016-04-12 12:49:26 +0200 Processing by HomeController#home as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 12:49:26 +0200 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 devise/sessions/new.html.erb within layouts/application (12.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 170ms (Views: 169.0ms | ActiveRecord: 0.0ms) Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:49:26 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:49:26 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:49:26 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:49:27 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:49:28 +0200 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.6ms) Rendered devise/sessions/new.html.erb within layouts/application (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 159ms (Views: 157.6ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:49:29 +0200 Started GET "/users/sign_in" for ::1 at 2016-04-12 12:49:59 +0200 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.6ms) Rendered devise/sessions/new.html.erb within layouts/application (11.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4359ms (Views: 4357.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:50:04 +0200 Started POST "/users/sign_in" for ::1 at 2016-04-12 12:50:11 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zXpR982YcmHkGKLBcUZNGYskiBlvvMMYiJVKETsaxDmUUp4Vy4KmghmRQFoDpA1Q9ZR8ANLknYfML0UtTCb6ew==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2016-04-12 10:50:11.799096"], ["sign_in_count", 2], ["updated_at", "2016-04-12 10:50:11.800317"], ["id", 1]]  (0.8ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 115ms (ActiveRecord: 1.5ms) Started GET "/" for ::1 at 2016-04-12 12:50:11 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 112ms (Views: 110.6ms | ActiveRecord: 0.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 12:50:12 +0200 Started GET "/dorsale/expense_gun/expenses" for ::1 at 2016-04-12 12:54:44 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/dorsale/expense_gun/expenses/state/submited Completed 302 Found in 4ms (ActiveRecord: 0.1ms) Started GET "/dorsale/expense_gun/expenses/state/submited" for ::1 at 2016-04-12 12:54:44 +0200 Processing by Dorsale::ExpenseGun::ExpensesController#index as HTML Parameters: {"state"=>"submited"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "submited"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "new"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "accepted"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "refused"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "canceled"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" Dorsale::ExpenseGun::Expense Load (0.1ms) SELECT "dorsale_expense_gun_expenses".* FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? LIMIT 25 OFFSET 0 [["state", "submited"]] CACHE (0.0ms) SELECT COUNT(*) FROM "dorsale_expense_gun_expenses" WHERE "dorsale_expense_gun_expenses"."state" = ? [["state", "submited"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/expense_gun/expenses/index.html.slim within layouts/application (16.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 156ms (Views: 150.7ms | ActiveRecord: 1.0ms) Started GET "/dorsale/users" for ::1 at 2016-04-12 12:54:45 +0200 Processing by Dorsale::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (8.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (19.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 170ms (Views: 166.3ms | ActiveRecord: 0.3ms) Started GET "/dorsale/users" for ::1 at 2016-04-12 12:54:45 +0200 Processing by Dorsale::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (9.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 181ms (Views: 177.4ms | ActiveRecord: 0.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-12 12:54:47 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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 (13.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (7.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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (14.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 (63.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 250ms (Views: 225.8ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-12 12:54:49 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::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.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]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.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 (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 151ms (Views: 145.2ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-04-12 12:54:50 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (6.0ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (4.6ms)  (0.2ms) 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 (38.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 175ms (Views: 169.2ms | ActiveRecord: 1.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-04-12 12:54:51 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) 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.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/_list.html.slim (12.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (39.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 179ms (Views: 175.1ms | ActiveRecord: 0.8ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2016-04-12 12:54:52 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Dorsale::Flyboy::Folder Load (0.3ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term < '2016-04-12')  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term > '2016-04-12' AND reminder < '2016-04-12') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (8.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (43.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 186ms (Views: 182.4ms | ActiveRecord: 0.9ms) Started GET "/dorsale/users" for ::1 at 2016-04-12 12:54:53 +0200 Processing by Dorsale::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (2.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (9.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 155ms (Views: 151.5ms | ActiveRecord: 0.3ms) Started GET "/" for ::1 at 2016-04-12 13:29:48 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 167ms (Views: 150.5ms | ActiveRecord: 1.5ms) Started GET "/" for ::1 at 2016-04-12 14:34:35 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-04-12 14:34:36 +0200 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 (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (49.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.9ms) Completed 200 OK in 599ms (Views: 583.3ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 14:34:37 +0200 Started POST "/users/sign_in" for ::1 at 2016-04-12 14:34:39 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+ribszBajFHmP7qWP96wgRlTf9U8bP+DCN9d7ssRCncQX/tAktAr1PF1sszSrXiOYgd3bAVxxhHmmGxDYc0UWg==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (3.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-12 10:50:11.799096"], ["current_sign_in_at", "2016-04-12 12:34:39.391062"], ["sign_in_count", 3], ["updated_at", "2016-04-12 12:34:39.392441"], ["id", 1]]  (1.2ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 178ms (ActiveRecord: 4.7ms) Started GET "/" for ::1 at 2016-04-12 14:34:39 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 207ms (Views: 205.2ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 14:34:39 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 14:34:40 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-12 14:34:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.6ms) 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.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 (72.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (16.5ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (31.0ms)  (0.5ms) 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 (149.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 320ms (Views: 264.4ms | ActiveRecord: 4.1ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-04-12 14:34:46 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.6ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (10.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (6.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (13.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (30.9ms)  (0.5ms) 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 (83.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 222ms (Views: 200.5ms | ActiveRecord: 2.3ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2016-04-12 14:34:47 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (1.0ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (17.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) 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/alexandrie/attachments/_form.html.slim (19.6ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (41.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (158.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (172.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 314ms (Views: 305.7ms | ActiveRecord: 3.9ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2016-04-12 14:34:48 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? LIMIT 1 [["quotation_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.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::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (121.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (130.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (142.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 299ms (Views: 279.6ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2016-04-12 14:34:52 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.1ms) 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/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (11.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (51.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 180ms (Views: 174.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2016-04-12 14:34:54 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::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", 2]] 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", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 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]] Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data Devis_2016-01_.pdf (4.1ms) Completed 200 OK in 248ms (Views: 4.0ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2016-04-12 14:34:54 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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", 2]] 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", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 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]] Dorsale::Alexandrie::Attachment Load (1.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.2ms) Sent data Devis_2016-01_.pdf (2.1ms) Completed 200 OK in 152ms (Views: 1.8ms | ActiveRecord: 3.3ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2016-04-12 14:35:03 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? LIMIT 1 [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.9ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (57.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (65.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 213ms (Views: 203.7ms | ActiveRecord: 1.8ms) Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2016-04-12 14:35:12 +0200 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fwXI06+do8fAnEJTeABFl2co1fcDaE/BY4OSXCheqYio3vTa0RtE0Wi5Y5TorzfZ7j9V5m7/xe2R6AyjN+ydw==", "quotation"=>{"id_card_id"=>"1", "label"=>"Application sur mesure", "date"=>"12/04/2016", "customer_guid"=>"Dorsale::CustomerVault::Corporation-2", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Développement", "quantity"=>"14,00", "unit"=>"", "unit_price"=>"750,00", "id"=>"1"}, "1"=>{"_destroy"=>"false", "label"=>"Gestion de projet", "quantity"=>"5,00", "unit"=>"", "unit_price"=>"1 200,00", "id"=>"2"}}, "payment_term_id"=>"1", "state"=>"pending", "expires_at"=>"12/05/2016", "comments"=>"lolilol coucou commentaire", "commercial_discount"=>"0,00", "vat_rate"=>"20,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/edit", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (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]] Dorsale::BillingMachine::QuotationLine Load (0.5ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "comments" = ?, "commercial_discount" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["comments", "lolilol coucou commentaire"], ["commercial_discount", 0.0], ["total_excluding_taxes", 10505.0], ["vat_amount", 2101.0], ["total_including_taxes", 12606.0], ["updated_at", "2016-04-12 12:35:12.214049"], ["id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 14.0], ["unit", ""], ["unit_price", 750.0], ["vat_rate", 20.0], ["updated_at", "2016-04-12 12:35:12.216001"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) 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.6ms) 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-04-12 12:35:12.226369"], ["id", 1]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["quantity", 5.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 20.0], ["total", 5.0], ["updated_at", "2016-04-12 12:35:12.230070"], ["id", 2]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 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", 10505.0], ["vat_amount", 2101.0], ["total_including_taxes", 12606.0], ["updated_at", "2016-04-12 12:35:12.243330"], ["id", 1]]  (3.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 54ms (ActiveRecord: 6.4ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-04-12 14:35:12 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (6.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC 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 (4.6ms)  (0.2ms) 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 (39.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 163ms (Views: 156.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 14:35:12 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 14:35:13 +0200 Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2016-04-12 14:35:14 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] 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", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] 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]] Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data Devis_2016-01_.pdf (0.6ms) Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 2.0ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2016-04-12 14:35:14 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as PDF Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] 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", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 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]] Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 1], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] Rendered text template (0.0ms) Sent data Devis_2016-01_.pdf (0.7ms) Completed 200 OK in 132ms (Views: 0.5ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-12 14:35:23 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::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.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.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.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 (37.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 173ms (Views: 166.5ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-12 14:35:24 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.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.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.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", 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 (35.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (48.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 188ms (Views: 179.7ms | ActiveRecord: 2.6ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-12 14:35:26 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" 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.6ms) Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-12 14:35:27 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::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.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]] 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 (1.0ms) Completed 200 OK in 83ms (Views: 0.8ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-12 14:35:32 +0200 Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::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.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.1ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 224ms (Views: 214.5ms | ActiveRecord: 1.7ms) Started PATCH "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-12 14:35:40 +0200 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"dz/ST+bhEccwQKc+T/mKiaVAnkv5JaUdLUTVdHvhB8GAYL6/wxsKW2rgM7lRuzdAn2TAS7yT+zWejXsPh5/PEA==", "invoice"=>{"id_card_id"=>"1", "label"=>"Commande de bombons", "date"=>"12/04/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"=>"1"}}, "payment_term_id"=>"1", "due_date"=>"12/05/2016", "paid"=>"false", "comments"=>"azeazeaze", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/1/edit", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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]]  (0.1ms) begin transaction Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 1 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] 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" = ?, "comments" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["comments", "azeazeaze"], ["updated_at", "2016-04-12 12:35:40.772500"], ["id", 1]] SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit" = ?, "unit_price" = ?, "vat_rate" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 3.2], ["unit", ""], ["unit_price", 14.0], ["vat_rate", 20.0], ["updated_at", "2016-04-12 12:35:40.774349"], ["id", 1]] 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", 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]]  (2.9ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 35ms (ActiveRecord: 5.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-12 14:35:40 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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.1ms) 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]] 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 (38.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 166ms (Views: 160.4ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/modals.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-12 14:35:41 +0200 Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-12 14:35:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::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.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] Rendered text template (0.0ms) Sent data Facture_2016-01_.pdf (0.9ms) Completed 200 OK in 80ms (Views: 0.7ms | ActiveRecord: 1.4ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-12 14:35:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as PDF Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::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 text template (0.0ms) Sent data Facture_2016-01_.pdf (0.9ms) Completed 200 OK in 103ms (Views: 0.6ms | ActiveRecord: 1.8ms)