(1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20141010140200)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "street_bis" varchar(255), "city" varchar(255), "zip" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141010140200"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "street_bis" varchar(255), "city" varchar(255), "zip" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (1.3ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "street_bis" varchar(255), "city" varchar(255), "zip" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "street_bis" varchar(255), "city" varchar(255), "zip" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (7.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "street_bis" varchar(255), "city" varchar(255), "zip" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2014-10-13 17:14:34 +0200 Processing by Rails::WelcomeController#index as HTML Rendered /Users/benoit/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.10/lib/rails/templates/rails/welcome/index.html.erb (1.8ms) Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-10-13 17:14:34 +0200 Processing by Rails::WelcomeController#index as HTML Rendered /Users/benoit/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.10/lib/rails/templates/rails/welcome/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET "/dorsale/addresses" for 127.0.0.1 at 2014-10-13 17:14:40 +0200 Processing by Dorsale::AddressesController#index as HTML Dorsale::Address Load (1.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (46.0ms) Completed 200 OK in 86ms (Views: 83.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-13 17:14:40 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-13 17:14:40 +0200 Started GET "/dorsale/addresses/new" for 127.0.0.1 at 2014-10-13 17:14:42 +0200 Processing by Dorsale::AddressesController#new as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (21.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/new.html.slim within layouts/application (26.2ms) Completed 200 OK in 30ms (Views: 29.0ms | ActiveRecord: 0.3ms) Started POST "/dorsale/addresses" for 127.0.0.1 at 2014-10-13 17:14:56 +0200 Processing by Dorsale::AddressesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V9MeeKJ8Y3Kf5PT++jKHJqqzvp5tU2r6cJTXt9hSvp4=", "address"=>{"street"=>"46 Avenue des Chartreux", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"Marseille"}, "commit"=>"Save"}  (0.1ms) begin transaction SQL (3.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "Marseille"], ["created_at", Mon, 13 Oct 2014 15:14:56 UTC +00:00], ["street", "46 Avenue des Chartreux"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:14:56 UTC +00:00], ["zip", "13004"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/addresses/1 Completed 302 Found in 8ms (ActiveRecord: 4.1ms) Started GET "/dorsale/addresses/1" for 127.0.0.1 at 2014-10-13 17:14:56 +0200 Processing by Dorsale::AddressesController#show as HTML Parameters: {"id"=>"1"} Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/show.html.slim within layouts/application (4.5ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started GET "/dorsale/addresses" for 127.0.0.1 at 2014-10-13 17:14:58 +0200 Processing by Dorsale::AddressesController#index as HTML Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (2.0ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2014-10-14 11:43:18 +0200 Processing by Rails::WelcomeController#index as HTML Rendered /Users/benoit/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.10/lib/rails/templates/rails/welcome/index.html.erb (1.3ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started GET "/dorsale/addresses" for 127.0.0.1 at 2014-10-14 11:43:22 +0200 Processing by Dorsale::AddressesController#index as HTML Dorsale::Address Load (1.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (56.0ms) Completed 200 OK in 89ms (Views: 85.7ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:22 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:22 +0200 Started GET "/dorsale/addresses/1/edit" for 127.0.0.1 at 2014-10-14 11:43:24 +0200 Processing by Dorsale::AddressesController#edit as HTML Parameters: {"id"=>"1"} Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_nested_form.html.slim (12.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (18.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/edit.html.slim within layouts/application (24.1ms) Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:24 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:24 +0200 Started PATCH "/dorsale/addresses/1" for 127.0.0.1 at 2014-10-14 11:43:29 +0200 Processing by Dorsale::AddressesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BWC1t0kpOiKtco+jM/XtMbBa13FAmDy5Mv87gABSekk=", "address"=>{"street"=>"46 Avenue des Chartreux", "street_bis"=>"bis", "zip"=>"13004", "city"=>"Marseille", "country"=>"Marseille"}, "commit"=>"Save", "id"=>"1"} Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction SQL (2.7ms) UPDATE "dorsale_addresses" SET "street_bis" = ?, "updated_at" = ? WHERE "dorsale_addresses"."id" = 1 [["street_bis", "bis"], ["updated_at", Tue, 14 Oct 2014 09:43:29 UTC +00:00]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/addresses/1 Completed 302 Found in 10ms (ActiveRecord: 3.8ms) Started GET "/dorsale/addresses/1" for 127.0.0.1 at 2014-10-14 11:43:29 +0200 Processing by Dorsale::AddressesController#show as HTML Parameters: {"id"=>"1"} Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/show.html.slim within layouts/application (4.4ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:29 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:29 +0200 Started GET "/dorsale/addresses" for 127.0.0.1 at 2014-10-14 11:43:31 +0200 Processing by Dorsale::AddressesController#index as HTML Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (1.8ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:31 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:31 +0200 Started GET "/dorsale/addresses/new" for 127.0.0.1 at 2014-10-14 11:43:32 +0200 Processing by Dorsale::AddressesController#new as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_nested_form.html.slim (2.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (4.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/new.html.slim within layouts/application (7.6ms) Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:32 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:32 +0200 Started POST "/dorsale/addresses" for 127.0.0.1 at 2014-10-14 11:43:46 +0200 Processing by Dorsale::AddressesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BWC1t0kpOiKtco+jM/XtMbBa13FAmDy5Mv87gABSekk=", "address"=>{"street"=>"ici et maintenant", "street_bis"=>"", "zip"=>"", "city"=>"oui oui city", "country"=>""}, "commit"=>"Save"}  (0.1ms) begin transaction SQL (7.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "oui oui city"], ["country", ""], ["created_at", Tue, 14 Oct 2014 09:43:46 UTC +00:00], ["street", "ici et maintenant"], ["street_bis", ""], ["updated_at", Tue, 14 Oct 2014 09:43:46 UTC +00:00], ["zip", ""]]  (0.9ms) commit transaction Redirected to http://localhost:3000/dorsale/addresses/2 Completed 302 Found in 12ms (ActiveRecord: 8.0ms) Started GET "/dorsale/addresses/2" for 127.0.0.1 at 2014-10-14 11:43:46 +0200 Processing by Dorsale::AddressesController#show as HTML Parameters: {"id"=>"2"} Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "2"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/show.html.slim within layouts/application (0.9ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:46 +0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:46 +0200 Started GET "/dorsale/addresses" for 127.0.0.1 at 2014-10-14 11:43:50 +0200 Processing by Dorsale::AddressesController#index as HTML Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-14 11:43:50 +0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-14 11:43:50 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (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)   (0.7ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (0.9ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.9ms) 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")  (0.7ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.9ms) 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'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)  (0.7ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.7ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (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)  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.9ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index' ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20150722125537)  (0.1ms) begin transaction  (0.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)  SQLite3::SQLException: table "dorsale_addresses" already exists: 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)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for ::1 at 2015-07-22 14:59:56 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Rails::WelcomeController#index as HTML Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (2.7ms) Completed 200 OK in 24ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 15:00:07 +0200 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.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (827.1ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (13.3ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.9ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (3.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (907.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (5.2ms) Completed 200 OK in 8390ms (Views: 8292.4ms | ActiveRecord: 2.6ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 15:00:16 +0200 Started GET "/" for ::1 at 2015-07-22 16:10:58 +0200 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 (12.3ms) Completed 500 Internal Server Error in 520ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined local variable or method `dorsale_customer_vault' for #<#:0x007fa75d83bc40>): 15: = link_to "Dorsale Seed", main_app.root_path 16: = horizontal do 17: = nav do 18: = icon_link_to "users", "Customer Vault", dorsale_customer_vault.people_path 19: = icon_link_to "tasks", "Flyboy Goals", flyboy.goals_path 20: = icon_link_to "check-square-o", "Flyboy Tasks", flyboy.tasks_path 21: app/views/layouts/application.html.slim:18:in `block (3 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178412006180' app/views/layouts/application.html.slim:17:in `block (2 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178412006180' app/views/layouts/application.html.slim:16:in `block in _app_views_layouts_application_html_slim__3761584917169095949_70178412006180' app/views/layouts/application.html.slim:13:in `_app_views_layouts_application_html_slim__3761584917169095949_70178412006180' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (74.5ms) Started GET "/" for ::1 at 2015-07-22 16:11:07 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Completed 500 Internal Server Error in 100ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `customer_vault' for #): 15: = link_to "Dorsale Seed", main_app.root_path 16: = horizontal do 17: = nav do 18: = icon_link_to "users", "Customer Vault", dorsale.customer_vault.people_path 19: = icon_link_to "tasks", "Flyboy Goals", flyboy.goals_path 20: = icon_link_to "check-square-o", "Flyboy Tasks", flyboy.tasks_path 21: app/views/layouts/application.html.slim:18:in `block (3 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178421790620' app/views/layouts/application.html.slim:17:in `block (2 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178421790620' app/views/layouts/application.html.slim:16:in `block in _app_views_layouts_application_html_slim__3761584917169095949_70178421790620' app/views/layouts/application.html.slim:13:in `_app_views_layouts_application_html_slim__3761584917169095949_70178421790620' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.8ms) Started GET "/" for ::1 at 2015-07-22 16:11:14 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Completed 500 Internal Server Error in 114ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined local variable or method `flyboy' for #<#:0x007fa7670b2e38>): 16: = horizontal do 17: = nav do 18: = icon_link_to "users", "Customer Vault", dorsale.customer_vault_people_path 19: = icon_link_to "tasks", "Flyboy Goals", flyboy.goals_path 20: = icon_link_to "check-square-o", "Flyboy Tasks", flyboy.tasks_path 21: 22: #main.container app/views/layouts/application.html.slim:19:in `block (3 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178385543400' app/views/layouts/application.html.slim:17:in `block (2 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178385543400' app/views/layouts/application.html.slim:16:in `block in _app_views_layouts_application_html_slim__3761584917169095949_70178385543400' app/views/layouts/application.html.slim:13:in `_app_views_layouts_application_html_slim__3761584917169095949_70178385543400' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.3ms) Started GET "/" for ::1 at 2015-07-22 16:11:26 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Completed 500 Internal Server Error in 94ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `flyboy_goals_path' for #): 16: = horizontal do 17: = nav do 18: = icon_link_to "users", "Customer Vault", dorsale.customer_vault_people_path 19: = icon_link_to "tasks", "Flyboy Goals", dorsale.flyboy_goals_path 20: = icon_link_to "check-square-o", "Flyboy Tasks", dorsale.flyboy_tasks_path 21: 22: #main.container app/views/layouts/application.html.slim:19:in `block (3 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178413659880' app/views/layouts/application.html.slim:17:in `block (2 levels) in _app_views_layouts_application_html_slim__3761584917169095949_70178413659880' app/views/layouts/application.html.slim:16:in `block in _app_views_layouts_application_html_slim__3761584917169095949_70178413659880' app/views/layouts/application.html.slim:13:in `_app_views_layouts_application_html_slim__3761584917169095949_70178413659880' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.6ms) Started GET "/" for ::1 at 2015-07-22 16:12:01 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (0.1ms) Completed 200 OK in 111ms (Views: 110.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:12:01 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:12:02 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:12:05 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:12:05 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (792.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (3.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (13.4ms)  (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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (855.8ms) Completed 200 OK in 1023ms (Views: 954.6ms | ActiveRecord: 0.8ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:12:06 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.6ms) Dorsale::Flyboy::Folder Load (0.6ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (10.6ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (44.5ms) Completed 200 OK in 145ms (Views: 133.0ms | ActiveRecord: 1.2ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:12:07 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:12:07 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (1.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.4ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (32.1ms) Completed 200 OK in 126ms (Views: 124.7ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:12:09 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.5ms) Dorsale::Flyboy::Task Load (0.6ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (11.6ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (44.7ms) Completed 200 OK in 156ms (Views: 149.4ms | ActiveRecord: 1.4ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:12:13 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (24.2ms) Completed 200 OK in 125ms (Views: 123.3ms | ActiveRecord: 0.3ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:12:14 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:12:14 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (6.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (32.6ms) Completed 200 OK in 128ms (Views: 126.0ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:13:48 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (26.1ms) Completed 200 OK in 116ms (Views: 113.7ms | ActiveRecord: 0.3ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:13:49 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (4.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (22.8ms) Completed 200 OK in 113ms (Views: 110.6ms | ActiveRecord: 0.4ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:13:49 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (27.2ms) Completed 200 OK in 122ms (Views: 119.7ms | ActiveRecord: 0.3ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:13:50 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:13:50 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.5ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (30.8ms) Completed 200 OK in 139ms (Views: 137.9ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:13:51 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (21.5ms) Completed 200 OK in 115ms (Views: 112.7ms | ActiveRecord: 0.4ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:15:22 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (20.9ms) Completed 200 OK in 117ms (Views: 114.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:15:22 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:15:25 +0200 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.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (14.8ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (14.5ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.5ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (73.3ms) Completed 200 OK in 195ms (Views: 173.4ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:15:26 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (5.9ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (6.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (7.0ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (45.0ms) Completed 200 OK in 142ms (Views: 136.6ms | ActiveRecord: 1.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:15:27 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (24.7ms) Completed 200 OK in 123ms (Views: 119.7ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-07-22 16:15:28 +0200 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.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.6ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (117.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (126.3ms) Completed 500 Internal Server Error in 196ms (ActiveRecord: 2.5ms) ActionView::Template::Error (undefined method `input' for #): 9: .form-control-static.invoice-unique-index 10: = @invoice.tracking_id 11: 12: = f.input :label 13: = f.input :date, html5: true 14: = f.input :payment_term_id, collection: @payment_terms 15: = f.input :due_date, html5: true /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:12:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim___4272400463314710321_70178483089280' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/Sources/dorsale/app/helpers/dorsale/form_helper.rb:40:in `horizontal_form_for' /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim___4272400463314710321_70178483089280' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim:2:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_new_html_slim___243967148571187030_70178483365820' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (68.9ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-07-22 16:15:28 +0200 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" Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (79.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (86.6ms) Completed 500 Internal Server Error in 109ms (ActiveRecord: 0.6ms) ActionView::Template::Error (undefined method `input' for #): 9: .form-control-static.invoice-unique-index 10: = @invoice.tracking_id 11: 12: = f.input :label 13: = f.input :date, html5: true 14: = f.input :payment_term_id, collection: @payment_terms 15: = f.input :due_date, html5: true /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:12:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim___4272400463314710321_70178412298320' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/Sources/dorsale/app/helpers/dorsale/form_helper.rb:40:in `horizontal_form_for' /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:2:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim___4272400463314710321_70178412298320' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim:2:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_new_html_slim___243967148571187030_70178423524880' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.0ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:15:40 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:15:40 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (28.3ms) Completed 200 OK in 114ms (Views: 112.6ms | ActiveRecord: 0.2ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2015-07-22 16:15:42 +0200 Processing by Dorsale::CustomerVault::IndividualsController#new as HTML ActsAsTaggableOn::Tag Load (0.7ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (80.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (96.7ms) Completed 500 Internal Server Error in 146ms (ActiveRecord: 1.1ms) ActionView::Template::Error (undefined method `input' for #): 1: = horizontal_form_for @individual, as: :individual do |f| 2: = f.input :first_name 3: = f.input :last_name 4: = f.input :tag_list, collection: @tags, input_html: {multiple: true} 5: = f.input :email /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim:2:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals__form_html_slim__745495823864526784_70178469992600' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/Sources/dorsale/app/helpers/dorsale/form_helper.rb:40:in `horizontal_form_for' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim:1:in `___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals__form_html_slim__745495823864526784_70178469992600' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim:12:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals_new_html_slim___411490375981246282_70178470351540' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim:10:in `___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals_new_html_slim___411490375981246282_70178470351540' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.6ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2015-07-22 16:15:42 +0200 Processing by Dorsale::CustomerVault::IndividualsController#new as HTML ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (4.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (70.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (88.3ms) Completed 500 Internal Server Error in 111ms (ActiveRecord: 0.2ms) ActionView::Template::Error (undefined method `input' for #): 1: = horizontal_form_for @individual, as: :individual do |f| 2: = f.input :first_name 3: = f.input :last_name 4: = f.input :tag_list, collection: @tags, input_html: {multiple: true} 5: = f.input :email /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim:2:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals__form_html_slim__745495823864526784_70178483040700' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for' bh (1.3.4) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' /Users/benoit/Sources/dorsale/app/helpers/dorsale/form_helper.rb:40:in `horizontal_form_for' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim:1:in `___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals__form_html_slim__745495823864526784_70178483040700' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim:12:in `block in ___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals_new_html_slim___411490375981246282_70178466533680' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:152:in `content_for' /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim:10:in `___sers_benoit__ources_dorsale_app_views_dorsale_customer_vault_individuals_new_html_slim___411490375981246282_70178466533680' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.4ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2015-07-22 16:19:30 +0200 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::CustomerVault::IndividualsController#new as HTML ActsAsTaggableOn::Tag Load (0.4ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (797.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (152.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (5.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (988.0ms) Completed 200 OK in 1600ms (Views: 1473.5ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:19:32 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:19:51 +0200 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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (7.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (12.3ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.4ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (60.8ms) Completed 200 OK in 167ms (Views: 144.0ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:19:52 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (5.4ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (8.4ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (6.6ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (50.8ms) Completed 200 OK in 151ms (Views: 144.3ms | ActiveRecord: 1.9ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:19:56 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:19:56 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (4.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (5.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (13.6ms)  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (3.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (57.3ms) Completed 200 OK in 152ms (Views: 149.6ms | ActiveRecord: 0.6ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2015-07-22 16:19:57 +0200 Processing by Dorsale::CustomerVault::IndividualsController#new as HTML ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (42.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (63.7ms) Completed 200 OK in 159ms (Views: 155.9ms | ActiveRecord: 0.2ms) Started POST "/dorsale/customer_vault/individuals" for ::1 at 2015-07-22 16:20:19 +0200 Processing by Dorsale::CustomerVault::IndividualsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9YuSsaM2qXJ6JjSmSEYVB3KlyVF8qaenNteR2kkRt47ZjZu1p/gr/+u8IJAHq++Hk9WZ4LQNeL/58br5PuwkEA==", "individual"=>{"first_name"=>"Marc", "last_name"=>"DUPOND", "tag_list"=>["", "Client"], "email"=>"marc.dupond@gmail.com", "title"=>"", "twitter"=>"", "context"=>"", "phone"=>"", "fax"=>"", "mobile"=>"", "www"=>"", "address_attributes"=>{"street"=>"", "street_bis"=>"", "zip"=>"", "city"=>"", "country"=>""}}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/new"} ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "title", "twitter", "www", "context", "phone", "fax", "mobile", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Marc"], ["last_name", "DUPOND"], ["email", "marc.dupond@gmail.com"], ["title", ""], ["twitter", ""], ["www", ""], ["context", ""], ["phone", ""], ["fax", ""], ["mobile", ""], ["created_at", "2015-07-22 14:20:19.607451"], ["updated_at", "2015-07-22 14:20:19.607451"]] SQL (0.5ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "zip", "city", "country", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", ""], ["street_bis", ""], ["zip", ""], ["city", ""], ["country", ""], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["addressable_id", 1], ["created_at", "2015-07-22 14:20:19.610137"], ["updated_at", "2015-07-22 14:20:19.610137"]] ActsAsTaggableOn::Tag Load (0.5ms) 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.6ms) 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.5ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 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.4ms) 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::Individual"], ["created_at", "2015-07-22 14:20:19.786007"]] 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.4ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/1 Completed 302 Found in 201ms (ActiveRecord: 5.5ms) Started GET "/dorsale/customer_vault/individuals/1" for ::1 at 2015-07-22 16:20:19 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (5.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (8.7ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (24.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (31.6ms) Dorsale::Flyboy::Task Load (0.5ms) 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" = 'f' [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::CustomerVault::Link Load (0.5ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] Dorsale::CustomerVault::Link Load (0.5ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (21.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (15.2ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 1 ORDER BY "dorsale_comments"."created_at" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (3.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (29.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (37.2ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.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" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (10.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (27.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (37.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (174.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (181.7ms) Completed 200 OK in 273ms (Views: 268.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:20:20 +0200 Started GET "/dorsale/flyboy/tasks/new?taskable_guid=Dorsale%3A%3ACustomerVault%3A%3AIndividual-1" for ::1 at 2015-07-22 16:20:23 +0200 Processing by Dorsale::Flyboy::TasksController#new as HTML Parameters: {"taskable_guid"=>"Dorsale::CustomerVault::Individual-1"} Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (5.1ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (17.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_form.html.slim (45.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/new.html.slim within layouts/application (53.7ms) Completed 200 OK in 171ms (Views: 160.7ms | ActiveRecord: 0.5ms) Started POST "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:20:43 +0200 Processing by Dorsale::Flyboy::TasksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QFI572jRq4ScIKlzry6RouM2h5gB5ErFmd77oTCu6DZsVDDrbB8pCQ26vUXgw2siAkbXKclAld1W+NCCR1N7qA==", "task"=>{"name"=>"Le relancer sur la proposition", "description"=>"C'est vraiment une belle opportunités de mise à jour", "reminder"=>"29/07/2015", "term"=>"21/08/2015", "taskable_id"=>"1", "taskable_type"=>"Dorsale::CustomerVault::Individual"}, "back_url"=>"http://localhost:3000/dorsale/flyboy/tasks/new?taskable_guid=Dorsale%3A%3ACustomerVault%3A%3AIndividual-1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (7.6ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "term", "reminder", "done", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["name", "Le relancer sur la proposition"], ["description", "C'est vraiment une belle opportunités de mise à jour"], ["term", "2015-08-21"], ["reminder", "2015-07-29"], ["done", "f"], ["progress", 0], ["created_at", "2015-07-22 14:20:43.427261"], ["updated_at", "2015-07-22 14:20:43.427261"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/flyboy/tasks/1 Completed 302 Found in 17ms (ActiveRecord: 8.8ms) Started GET "/dorsale/flyboy/tasks/1" for ::1 at 2015-07-22 16:20:43 +0200 Processing by Dorsale::Flyboy::TasksController#show as HTML Parameters: {"id"=>"1"} Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", "1"]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_actions.html.slim (7.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_context.html.slim (19.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (0.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"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (14.6ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Flyboy::TaskComment Load (0.5ms) SELECT "dorsale_flyboy_task_comments".* FROM "dorsale_flyboy_task_comments" WHERE "dorsale_flyboy_task_comments"."task_id" = ? ORDER BY created_at DESC [["task_id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/task_comments/_list.html.slim (26.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/show.html.slim within layouts/application (85.0ms) Completed 200 OK in 184ms (Views: 179.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:20:43 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:20:45 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (25.3ms) Completed 200 OK in 115ms (Views: 111.5ms | ActiveRecord: 0.7ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:20:46 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:20:46 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.3ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (26.8ms) Completed 200 OK in 112ms (Views: 110.6ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:20:47 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (16.3ms) Dorsale::Flyboy::Folder Load (0.7ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (12.4ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (53.8ms) Completed 200 OK in 162ms (Views: 156.1ms | ActiveRecord: 1.4ms) Started GET "/dorsale/flyboy/folders/new" for ::1 at 2015-07-22 16:20:49 +0200 Processing by Dorsale::Flyboy::FoldersController#new as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_form.html.slim (21.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/new.html.slim within layouts/application (33.1ms) Completed 200 OK in 151ms (Views: 142.1ms | ActiveRecord: 0.3ms) Started POST "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:20:58 +0200 Processing by Dorsale::Flyboy::FoldersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e/AtMcBl6/VWg6Jg0LwFKiCfyzhbpju4Ug9+L79VRUxX9iQ1xKtpeMcZtlafUf+qwe+biZMC5KCdKVUMyKjW0g==", "folder"=>{"name"=>"Mise à jour du SI", "description"=>""}, "back_url"=>"http://localhost:3000/dorsale/flyboy/folders/new"}  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') SQL (7.4ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "status", "progress", "version", "created_at", "updated_at", "tracking") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Mise à jour du SI"], ["description", ""], ["status", "open"], ["progress", 0], ["version", 1], ["created_at", "2015-07-22 14:20:58.023397"], ["updated_at", "2015-07-22 14:20:58.023397"], ["tracking", "150722-1"]]  (0.9ms) commit transaction Redirected to http://localhost:3000/dorsale/flyboy/folders/1 Completed 302 Found in 15ms (ActiveRecord: 8.6ms) Started GET "/dorsale/flyboy/folders/1" for ::1 at 2015-07-22 16:20:58 +0200 Processing by Dorsale::Flyboy::FoldersController#show as HTML Parameters: {"id"=>"1"} Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = 'f' [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_actions.html.slim (11.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_context.html.slim (22.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (10.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/show.html.slim within layouts/application (50.9ms) Completed 200 OK in 143ms (Views: 140.4ms | ActiveRecord: 0.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:20:58 +0200 Started GET "/dorsale/flyboy/tasks/new?taskable_guid=Dorsale%3A%3AFlyboy%3A%3AFolder-1" for ::1 at 2015-07-22 16:20:59 +0200 Processing by Dorsale::Flyboy::TasksController#new as HTML Parameters: {"taskable_guid"=>"Dorsale::Flyboy::Folder-1"} Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = 'f' [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_actions.html.slim (9.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_context.html.slim (20.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_form.html.slim (40.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/new.html.slim within layouts/application (45.6ms) Completed 200 OK in 158ms (Views: 155.6ms | ActiveRecord: 0.4ms) Started POST "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:21:16 +0200 Processing by Dorsale::Flyboy::TasksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qBqziUh8DeuqctKR5SRNeVWCFSdxvIfkgiUaQRaihcGEHLqNTLKPZjvoxqeqybf5tPJFlrkYWPxNAzFiYV8WXw==", "task"=>{"name"=>"Lancer appel d'offre", "description"=>"Pour mise à jour des serveurs + maintenance informatique", "reminder"=>"29/07/2015", "term"=>"21/08/2015", "taskable_id"=>"1", "taskable_type"=>"Dorsale::Flyboy::Folder"}, "back_url"=>"http://localhost:3000/dorsale/flyboy/tasks/new?taskable_guid=Dorsale%3A%3AFlyboy%3A%3AFolder-1"} Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "term", "reminder", "done", "progress", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Lancer appel d'offre"], ["description", "Pour mise à jour des serveurs + maintenance informatique"], ["term", "2015-08-21"], ["reminder", "2015-07-29"], ["done", "f"], ["progress", 0], ["created_at", "2015-07-22 14:21:16.940976"], ["updated_at", "2015-07-22 14:21:16.940976"]]  (0.4ms) 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"]] CACHE (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.3ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 14:21:16.951717"], ["id", 1]]  (1.1ms) commit transaction Redirected to http://localhost:3000/dorsale/flyboy/tasks/2 Completed 302 Found in 21ms (ActiveRecord: 2.9ms) Started GET "/dorsale/flyboy/tasks/2" for ::1 at 2015-07-22 16:21:16 +0200 Processing by Dorsale::Flyboy::TasksController#show as HTML Parameters: {"id"=>"2"} Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 2]] 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_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", "2"]] CACHE (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_actions.html.slim (3.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_context.html.slim (8.9ms) CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = 'f' [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_actions.html.slim (5.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_context.html.slim (14.5ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 2]] Dorsale::Flyboy::TaskComment Load (0.1ms) SELECT "dorsale_flyboy_task_comments".* FROM "dorsale_flyboy_task_comments" WHERE "dorsale_flyboy_task_comments"."task_id" = ? ORDER BY created_at DESC [["task_id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/task_comments/_list.html.slim (8.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/show.html.slim within layouts/application (47.3ms) Completed 200 OK in 143ms (Views: 139.5ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:21:17 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:21:17 +0200 Started POST "/dorsale/flyboy/task_comments" for ::1 at 2015-07-22 16:21:27 +0200 Processing by Dorsale::Flyboy::TaskCommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tip4b4fp2dIdaDITAwR9wpc/cHQVJ1PUtH0pAnLV/teaLHFrgydbX4zyJiVM6YdCdk8gxd2DjMx7WwIhBShtSQ==", "task_comment"=>{"progress"=>"10", "description"=>"Appel d'offre rédigé", "task_id"=>"2"}, "back_url"=>"http://localhost:3000/dorsale/flyboy/tasks/2"} Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 2]] Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "progress", "description", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["task_id", 2], ["progress", 10], ["description", "Appel d'offre rédigé"], ["date", "2015-07-22 14:21:27.118667"], ["created_at", "2015-07-22 14:21:27.123071"], ["updated_at", "2015-07-22 14:21:27.123071"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 10], ["updated_at", "2015-07-22 14:21:27.126710"], ["id", 2]]  (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"]] CACHE (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.3ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 10], ["version", 3], ["updated_at", "2015-07-22 14:21:27.132861"], ["id", 1]]  (1.1ms) commit transaction Redirected to http://localhost:3000/dorsale/flyboy/tasks/2 Completed 302 Found in 21ms (ActiveRecord: 3.4ms) Started GET "/dorsale/flyboy/tasks/2" for ::1 at 2015-07-22 16:21:27 +0200 Processing by Dorsale::Flyboy::TasksController#show as HTML Parameters: {"id"=>"2"} Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 2]] 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_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", "2"]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_actions.html.slim (3.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_context.html.slim (10.3ms) CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = 'f' [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_actions.html.slim (6.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_context.html.slim (11.4ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."id" = ? LIMIT 1 [["id", 2]] Dorsale::Flyboy::TaskComment Load (0.2ms) SELECT "dorsale_flyboy_task_comments".* FROM "dorsale_flyboy_task_comments" WHERE "dorsale_flyboy_task_comments"."task_id" = ? ORDER BY created_at DESC [["task_id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/task_comments/_list.html.slim (11.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/show.html.slim within layouts/application (48.8ms) Completed 200 OK in 145ms (Views: 139.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:21:27 +0200 Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:21:29 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (5.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (25.6ms) Completed 200 OK in 120ms (Views: 118.4ms | ActiveRecord: 0.6ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:21:30 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:21:30 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (1.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.9ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (31.0ms) Completed 200 OK in 134ms (Views: 132.1ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:21:30 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.4ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (14.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (41.1ms) Completed 200 OK in 147ms (Views: 144.9ms | ActiveRecord: 0.7ms) Started GET "/dorsale/flyboy/tasks.pdf" for ::1 at 2015-07-22 16:21:34 +0200 Processing by Dorsale::Flyboy::TasksController#index as PDF Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered text template (0.0ms) Sent data feuille_de_route_2015-07-22.pdf (2.9ms) Completed 200 OK in 88ms (Views: 2.7ms | ActiveRecord: 0.7ms) Started GET "/dorsale/flyboy/tasks.pdf" for ::1 at 2015-07-22 16:21:34 +0200 Processing by Dorsale::Flyboy::TasksController#index as PDF Dorsale::Flyboy::Task Load (0.4ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.2ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered text template (0.0ms) Sent data feuille_de_route_2015-07-22.pdf (0.5ms) Completed 200 OK in 41ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:21:38 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (24.5ms) Completed 200 OK in 119ms (Views: 115.4ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:21:39 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.3ms) Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (23.8ms) Completed 200 OK in 116ms (Views: 113.1ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-07-22 16:22:27 +0200 Processing by Dorsale::BillingMachine::QuotationsController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (6.8ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.5ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (21.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (17.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (85.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (93.5ms) Completed 200 OK in 218ms (Views: 184.0ms | ActiveRecord: 8.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:22:39 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (26.7ms) Completed 200 OK in 120ms (Views: 116.9ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:22:42 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (0.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (23.6ms) Completed 200 OK in 127ms (Views: 124.3ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:22:43 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.0ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (24.4ms) Completed 200 OK in 119ms (Views: 115.5ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:22:44 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.5ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (27.5ms) Completed 200 OK in 117ms (Views: 114.4ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:23:13 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.3ms) Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (24.2ms) Completed 200 OK in 112ms (Views: 107.4ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:23:14 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.6ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (27.8ms) Completed 200 OK in 118ms (Views: 115.2ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-07-22 16:23:18 +0200 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (18.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (28.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (104.0ms) Completed 200 OK in 239ms (Views: 205.1ms | ActiveRecord: 1.7ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:23:26 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.8ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (9.8ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (32.0ms) Completed 200 OK in 124ms (Views: 121.5ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:23:35 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (28.2ms) Completed 200 OK in 116ms (Views: 112.9ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:23:36 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (26.6ms) Completed 200 OK in 124ms (Views: 119.8ms | ActiveRecord: 0.9ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:23:36 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (9.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (28.1ms) Completed 200 OK in 119ms (Views: 116.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:23:36 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (23.8ms) Completed 200 OK in 127ms (Views: 124.0ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:52:06 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (804.1ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (13.3ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (11.6ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (880.8ms) Completed 200 OK in 4779ms (Views: 4664.7ms | ActiveRecord: 2.7ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 16:52:11 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:52:13 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (9.8ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (7.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (8.7ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (55.1ms) Completed 200 OK in 151ms (Views: 143.3ms | ActiveRecord: 1.9ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:52:15 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (25.8ms) Completed 200 OK in 109ms (Views: 106.5ms | ActiveRecord: 0.9ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:52:15 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (6.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (6.4ms) Dorsale::Flyboy::Task Load (0.7ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC 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" IN (1) Dorsale::Flyboy::Folder Load (0.5ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (42.7ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (80.7ms) Completed 200 OK in 181ms (Views: 167.6ms | ActiveRecord: 2.3ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:52:16 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (6.1ms) Dorsale::Flyboy::Folder Load (0.3ms) 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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (22.2ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (58.2ms) Completed 200 OK in 167ms (Views: 162.0ms | ActiveRecord: 1.1ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:52:17 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:52:17 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (14.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (7.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (12.5ms)  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (5.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (71.7ms) Completed 200 OK in 180ms (Views: 177.2ms | ActiveRecord: 0.6ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:52:18 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Folder Load (0.3ms) 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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (8.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (33.4ms) Completed 200 OK in 168ms (Views: 165.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 16:52:19 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (3.0ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (3.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (32.5ms) Completed 200 OK in 146ms (Views: 141.4ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 16:52:20 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.3ms) Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (27.6ms) Completed 200 OK in 136ms (Views: 133.2ms | ActiveRecord: 0.9ms) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for ::1 at 2015-07-22 16:56:40 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (3.4ms) Completed 200 OK in 99ms (Views: 97.9ms | ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:56:41 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:56:41 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (2.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.9ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (33.1ms) Completed 200 OK in 137ms (Views: 135.1ms | ActiveRecord: 0.2ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2015-07-22 16:56:43 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML ActsAsTaggableOn::Tag Load (0.9ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.0ms) ActsAsTaggableOn::Tag Load (0.9ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (49.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (106.1ms) Completed 200 OK in 221ms (Views: 197.8ms | ActiveRecord: 2.9ms) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 16:57:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 16:57:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.7ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT 50 OFFSET 0) subquery_for_count Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (29.9ms) Completed 200 OK in 138ms (Views: 136.2ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:57:30 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" IN (1) Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (7.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (26.5ms) Completed 200 OK in 144ms (Views: 142.2ms | ActiveRecord: 0.6ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 16:57:31 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Folder Load (0.3ms) 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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (6.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (29.2ms) Completed 200 OK in 126ms (Views: 124.3ms | ActiveRecord: 0.7ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 16:57:32 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.9ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" IN (1) Dorsale::Flyboy::Folder Load (0.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (7.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (26.9ms) Completed 200 OK in 111ms (Views: 108.7ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.2ms) 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.1ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (1.6ms) DELETE FROM "dorsale_billing_machine_invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (1.2ms) 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';  (2.2ms) 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';  (1.1ms) 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';  (1.1ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (1.6ms) 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';  (1.6ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (1.2ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';  (0.9ms) 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';  (5.4ms) DELETE FROM "taggings";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'taggings';  (2.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 14:59:43.438040"], ["updated_at", "2015-07-22 14:59:43.438040"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (1.0ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.2ms) 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.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (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_invoice_lines';  (1.1ms) 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.6ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (0.8ms) 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.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.7ms) 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.7ms) 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.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.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", "2015-07-22 15:00:25.023185"], ["updated_at", "2015-07-22 15:00:25.023185"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:00:25.114021"], ["updated_at", "2015-07-22 15:00:25.114021"]] 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", "2015-07-22 15:00:25.115497"], ["updated_at", "2015-07-22 15:00:25.115497"]] 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.1ms) 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", "2015-07-22 15:00:25.240394"]] 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.0ms) commit transaction  (0.0ms) 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", "2015-07-22 15:00:25.253894"], ["updated_at", "2015-07-22 15:00:25.253894"]] 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.0ms) 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.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", "2015-07-22 15:00:25.260252"]] 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", "2015-07-22 15:00:25.263247"]] 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.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", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:00:25.276161"], ["updated_at", "2015-07-22 15:00:25.276161"]]  (0.8ms) 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", "2015-07-22 15:00:25.290442"], ["updated_at", "2015-07-22 15:00:25.290442"]] 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", "2015-07-22 15:00:25.296083"]] 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.0ms) 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", "2015-07-22 15:00:25.298971"]] 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.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", "Jean"], ["last_name", "DUPONT"], ["email", "jean.dupon@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2015-07-22 15:00:25.305237"], ["updated_at", "2015-07-22 15:00:25.305237"]] ActsAsTaggableOn::Tag Load (6.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.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.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] 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::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", "2015-07-22 15:00:25.321632"]] 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.0ms) 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", "2015-07-22 15:00:25.324966"]] 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.0ms) 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", "2015-07-22 15:00:25.327840"]] 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.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:00:25.333853"], ["updated_at", "2015-07-22 15:00:25.333853"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:00:25.356087"], ["updated_at", "2015-07-22 15:00:25.356087"], ["tracking", "150722-1"]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:00:25.368663"], ["updated_at", "2015-07-22 15:00:25.368663"]]  (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", "2015-07-22 15:00:25.372924"], ["id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:00:25.385195"], ["created_at", "2015-07-22 15:00:25.385908"], ["updated_at", "2015-07-22 15:00:25.385908"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:00:25.387584"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2015-07-22 15:00:25.389921"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:00:25.394044"], ["updated_at", "2015-07-22 15:00:25.394044"]]  (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", "2015-07-22 15:00:25.398168"], ["id", 1]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.6ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.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';  (1.1ms) DELETE FROM "dorsale_billing_machine_id_cards";  (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_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.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (1.1ms) 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.1ms) 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.2ms) 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.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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.9ms) 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.8ms) 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.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.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.7ms) DELETE FROM "dorsale_flyboy_tasks";  (0.1ms) 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';  (0.8ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:02:46.314272"], ["updated_at", "2015-07-22 15:02:46.314272"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:02:46.389552"], ["updated_at", "2015-07-22 15:02:46.389552"]] 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", "2015-07-22 15:02:46.390984"], ["updated_at", "2015-07-22 15:02:46.390984"]] 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.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.1ms) 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", "2015-07-22 15:02:46.519800"]] 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.0ms) commit transaction  (0.0ms) 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", "2015-07-22 15:02:46.531141"], ["updated_at", "2015-07-22 15:02:46.531141"]] 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.0ms) 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.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", "2015-07-22 15:02:46.537801"]] 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", "2015-07-22 15:02:46.541075"]] 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", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:02:46.553714"], ["updated_at", "2015-07-22 15:02:46.553714"]]  (0.7ms) 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", "2015-07-22 15:02:46.567806"], ["updated_at", "2015-07-22 15:02:46.567806"]] 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", "2015-07-22 15:02:46.573588"]] 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.0ms) 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", "2015-07-22 15:02:46.576414"]] 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.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", "2015-07-22 15:02:46.582148"], ["updated_at", "2015-07-22 15:02:46.582148"]] ActsAsTaggableOn::Tag Load (3.3ms) 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.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", "2015-07-22 15:02:46.594877"]] 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.0ms) 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", "2015-07-22 15:02:46.597831"]] 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.0ms) 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", "2015-07-22 15:02:46.600473"]] 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.1ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:02:46.606489"], ["updated_at", "2015-07-22 15:02:46.606489"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:02:46.626797"], ["updated_at", "2015-07-22 15:02:46.626797"], ["tracking", "150722-1"]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:46.639373"], ["updated_at", "2015-07-22 15:02:46.639373"]]  (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", "2015-07-22 15:02:46.644204"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:02:46.654347"], ["created_at", "2015-07-22 15:02:46.654892"], ["updated_at", "2015-07-22 15:02:46.654892"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:02:46.656387"], ["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", "2015-07-22 15:02:46.658628"], ["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.2ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:46.662461"], ["updated_at", "2015-07-22 15:02:46.662461"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:02:46.665115"], ["id", 1]]  (0.7ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:46.667868"], ["updated_at", "2015-07-22 15:02:46.667868"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:02:46.671208"], ["created_at", "2015-07-22 15:02:46.671554"], ["updated_at", "2015-07-22 15:02:46.671554"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:02:46.672827"], ["id", 3]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.3ms) 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.7ms) 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.2ms) 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.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.7ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (0.7ms) 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.8ms) 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.7ms) DELETE FROM "dorsale_comments";  (0.1ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';  (0.6ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.9ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.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';  (0.8ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:02:59.368776"], ["updated_at", "2015-07-22 15:02:59.368776"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:02:59.446185"], ["updated_at", "2015-07-22 15:02:59.446185"]] 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", "2015-07-22 15:02:59.447658"], ["updated_at", "2015-07-22 15:02:59.447658"]] 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.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.1ms) 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", "2015-07-22 15:02:59.577105"]] 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.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:02:59.588375"], ["updated_at", "2015-07-22 15:02:59.588375"]] 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.0ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'certain' LIMIT 1 SQL (0.0ms) 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.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", "2015-07-22 15:02:59.594706"]] 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", "2015-07-22 15:02:59.598213"]] 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.0ms) commit transaction  (0.0ms) 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", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:02:59.611106"], ["updated_at", "2015-07-22 15:02:59.611106"]]  (0.7ms) 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", "2015-07-22 15:02:59.625054"], ["updated_at", "2015-07-22 15:02:59.625054"]] 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", "2015-07-22 15:02:59.630941"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.0ms) 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", "2015-07-22 15:02:59.633907"]] 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.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:02:59.638942"], ["updated_at", "2015-07-22 15:02:59.638942"]] ActsAsTaggableOn::Tag Load (2.5ms) 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.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.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::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", "2015-07-22 15:02:59.648853"]] 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", "2015-07-22 15:02:59.651951"]] 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", "2015-07-22 15:02:59.654702"]] 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.2ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:02:59.660986"], ["updated_at", "2015-07-22 15:02:59.660986"]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:02:59.680718"], ["updated_at", "2015-07-22 15:02:59.680718"], ["tracking", "150722-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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:59.695951"], ["updated_at", "2015-07-22 15:02:59.695951"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:02:59.699571"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:02:59.709033"], ["created_at", "2015-07-22 15:02:59.709580"], ["updated_at", "2015-07-22 15:02:59.709580"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:02:59.711187"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2015-07-22 15:02:59.713920"], ["id", 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.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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:59.718761"], ["updated_at", "2015-07-22 15:02:59.718761"]]  (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 "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:02:59.723818"], ["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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:02:59.727823"], ["updated_at", "2015-07-22 15:02:59.727823"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:02:59.731990"], ["created_at", "2015-07-22 15:02:59.732463"], ["updated_at", "2015-07-22 15:02:59.732463"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:02:59.734095"], ["id", 3]]  (0.9ms) commit transaction Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:03:04 +0200 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (12.5ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (67.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (127.4ms) Completed 200 OK in 1467ms (Views: 603.9ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:03:05 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:03:06 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 17:03:12 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 17:03:12 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (4.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (4.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (16.3ms)  (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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (31.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (42.2ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.1ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (3.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (133.7ms) Completed 200 OK in 224ms (Views: 220.6ms | ActiveRecord: 1.4ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-07-22 17:03:12 +0200 Started GET "/dorsale/customer_vault/people/list" for ::1 at 2015-07-22 17:03:13 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (6.4ms) 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"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (24.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/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (2.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::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (11.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", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (2.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (111.3ms) Completed 200 OK in 223ms (Views: 202.7ms | ActiveRecord: 1.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:03:17 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (12.3ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (11.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (6.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (3.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (59.0ms) Completed 200 OK in 160ms (Views: 146.1ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-07-22 17:03:18 +0200 Processing by Dorsale::BillingMachine::QuotationsController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (20.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (21.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (176.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (184.9ms) Completed 200 OK in 339ms (Views: 292.5ms | ActiveRecord: 1.6ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:03: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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.3ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (12.2ms) Dorsale::BillingMachine::Invoice Load (0.5ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (64.2ms) Completed 200 OK in 164ms (Views: 155.7ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-07-22 17:03:33 +0200 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" Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (15.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (70.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (80.4ms) Completed 200 OK in 206ms (Views: 176.6ms | ActiveRecord: 1.3ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:04:51 +0200 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"90vSrznIGQkwIv6ip5nidz01J5VLqqad6tnOOhrXQQvbTdurPQabhKG46pTodBj33EV3JIMOeYUl/+UZbSrSlQ==", "invoice"=>{"label"=>"qsdf", "date"=>"22/07/2015", "payment_term_id"=>"", "due_date"=>"21/08/2015", "paid"=>"false", "customer_guid"=>"Dorsale::CustomerVault::Individual-2", "vat_rate"=>"20", "advance"=>"0", "id_card_id"=>"1", "lines_attributes"=>{"0"=>{"label"=>"grosse prestation", "quantity"=>"1", "unit"=>"", "unit_price"=>"1000", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" 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]]  (0.2ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "customer_id", "customer_type", "label", "paid", "date", "advance", "vat_rate", "due_date", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Individual"], ["label", "qsdf"], ["paid", "f"], ["date", "2015-07-22"], ["advance", 0.0], ["vat_rate", 20.0], ["due_date", "2015-08-21"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:04:51.061303"], ["updated_at", "2015-07-22 15:04:51.061303"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "grosse prestation"], ["quantity", 1.0], ["unit", ""], ["unit_price", 1000.0], ["invoice_id", 1], ["total", 1000.0], ["created_at", "2015-07-22 15:04:51.064173"], ["updated_at", "2015-07-22 15:04:51.064173"]] Dorsale::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]]  (0.3ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.7ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1000.0], ["vat_amount", 200.0], ["total_all_taxes", 1200.0], ["balance", 1200.0], ["updated_at", "2015-07-22 15:04:51.072300"], ["id", 1]]  (1.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 37ms (ActiveRecord: 4.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:04:51 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.5ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (29.8ms) Completed 200 OK in 130ms (Views: 127.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:04:51 +0200 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:04:53 +0200 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::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (27.0ms) Completed 500 Internal Server Error in 58ms (ActiveRecord: 1.2ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (68.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:04:53 +0200 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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (7.3ms) Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.6ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.9ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:05:16 +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.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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (7.4ms) Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.4ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:05:16 +0200 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.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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (8.7ms) Completed 500 Internal Server Error in 31ms (ActiveRecord: 0.9ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.5ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:05:22 +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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (6.6ms) Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.8ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (69.1ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:05:22 +0200 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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (7.8ms) Completed 500 Internal Server Error in 30ms (ActiveRecord: 0.7ms) ActionView::Template::Error (undefined method `street' for nil:NilClass): 12: .col-xs-12.col-sm-6 13: .well 14: .customer-name = @invoice.customer.name 15: .customer-address1 = @invoice.customer.address.street 16: .customer-address2 = @invoice.customer.address.street_bis 17: .customer-zip = @invoice.customer.address.zip 18: .customer-city = @invoice.customer.address.city /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:15:in `___sers_benoit__ources_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim__949839734437964023_70230288446900' actionview (4.2.1) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.1) lib/action_view/template.rb:333:in `instrument' actionview (4.2.1) lib/action_view/template.rb:143:in `render' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (4.2.1) lib/action_controller/metal/mime_responds.rb:215:in `respond_to' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:67:in `show' actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/railtie.rb:194:in `public_send' railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819: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.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.1) 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.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call' activerecord (4.2.1) lib/active_record/migration.rb:378:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.1ms) Started GET "/dorsale/billing_machine/invoices/1/Edit" for ::1 at 2015-07-22 17:05:24 +0200 ActionController::RoutingError (No route matches [GET] "/dorsale/billing_machine/invoices/1/Edit"): actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (121.0ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2015-07-22 17:05: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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::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::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (20.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (19.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (100.4ms) Completed 200 OK in 195ms (Views: 191.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:05:28 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:05:28 +0200 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (1.0ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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.7ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (0.7ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (0.8ms) 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.7ms) DELETE FROM "dorsale_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';  (0.7ms) DELETE FROM "dorsale_customer_vault_corporations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.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_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.7ms) 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.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';  (0.8ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:08:00.383853"], ["updated_at", "2015-07-22 15:08:00.383853"]]  (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", "2015-07-22 15:08:00.490817"], ["updated_at", "2015-07-22 15:08:00.490817"]] 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", "2015-07-22 15:08:00.492957"], ["updated_at", "2015-07-22 15:08:00.492957"]] 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.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", "2015-07-22 15:08:00.625635"]] 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.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:08:00.640596"], ["updated_at", "2015-07-22 15:08:00.640596"]] 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", "2015-07-22 15:08:00.642077"], ["updated_at", "2015-07-22 15:08:00.642077"]] 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.0ms) 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.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", "2015-07-22 15:08:00.648341"]] 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.0ms) 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", "2015-07-22 15:08:00.651593"]] 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.0ms) commit transaction  (0.0ms) 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.5ms) INSERT INTO "dorsale_comments" ("text", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:08:00.664313"], ["updated_at", "2015-07-22 15:08:00.664313"]]  (0.8ms) 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", "2015-07-22 15:08:00.681985"], ["updated_at", "2015-07-22 15:08:00.681985"]] 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", "2015-07-22 15:08:00.684096"], ["updated_at", "2015-07-22 15:08:00.684096"]] 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", "2015-07-22 15:08:00.690878"]] 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", "2015-07-22 15:08:00.694025"]] 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.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:08:00.700058"], ["updated_at", "2015-07-22 15:08:00.700058"]] 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", "2015-07-22 15:08:00.701425"], ["updated_at", "2015-07-22 15:08:00.701425"]] ActsAsTaggableOn::Tag Load (7.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.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.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::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", "2015-07-22 15:08:00.716394"]] 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", "2015-07-22 15:08:00.719597"]] 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", "2015-07-22 15:08:00.722526"]] 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.1ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:08:00.728832"], ["updated_at", "2015-07-22 15:08:00.728832"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:08:00.754086"], ["updated_at", "2015-07-22 15:08:00.754086"], ["tracking", "150722-1"]]  (0.7ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:08:00.769045"], ["updated_at", "2015-07-22 15:08:00.769045"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:08:00.773771"], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:08:00.786173"], ["created_at", "2015-07-22 15:08:00.786897"], ["updated_at", "2015-07-22 15:08:00.786897"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:08:00.788793"], ["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", "2015-07-22 15:08:00.791572"], ["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.2ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:08:00.795732"], ["updated_at", "2015-07-22 15:08:00.795732"]]  (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.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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:08:00.798576"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:08:00.801780"], ["updated_at", "2015-07-22 15:08:00.801780"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:08:00.805234"], ["created_at", "2015-07-22 15:08:00.805587"], ["updated_at", "2015-07-22 15:08:00.805587"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:08:00.806839"], ["id", 3]]  (0.8ms) commit transaction Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:08:08 +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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.5ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (34.0ms) Completed 200 OK in 135ms (Views: 130.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:08:09 +0200 Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2015-07-22 17:08:10 +0200 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (63.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (70.4ms) Completed 200 OK in 180ms (Views: 173.4ms | ActiveRecord: 0.9ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:08:21 +0200 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"azXt1Ta70F/6Wzn+pE+MiU5g0nqQBo3CJGBcY+2MWN5HM+TRMnVS0mvBLcjronYJrxCCy1iiUtrrRndAmnHLQA==", "invoice"=>{"label"=>"qsdf", "date"=>"22/07/2015", "payment_term_id"=>"", "due_date"=>"21/08/2015", "paid"=>"false", "customer_guid"=>"", "vat_rate"=>"20", "advance"=>"0", "id_card_id"=>"1", "lines_attributes"=>{"0"=>{"label"=>"grosse", "quantity"=>"1", "unit"=>"", "unit_price"=>"1000", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "advance", "vat_rate", "due_date", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", "qsdf"], ["paid", "f"], ["date", "2015-07-22"], ["advance", 0.0], ["vat_rate", 20.0], ["due_date", "2015-08-21"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:08:21.533139"], ["updated_at", "2015-07-22 15:08:21.533139"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "grosse"], ["quantity", 1.0], ["unit", ""], ["unit_price", 1000.0], ["invoice_id", 1], ["total", 1000.0], ["created_at", "2015-07-22 15:08:21.535197"], ["updated_at", "2015-07-22 15:08:21.535197"]] 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::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1000.0], ["vat_amount", 200.0], ["total_all_taxes", 1200.0], ["balance", 1200.0], ["updated_at", "2015-07-22 15:08:21.538301"], ["id", 1]]  (8.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 23ms (ActiveRecord: 9.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:08:21 +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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (3.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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (4.5ms) 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 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (37.1ms) Completed 200 OK in 139ms (Views: 133.9ms | ActiveRecord: 1.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:08:21 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:08:22 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:08:22 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:08:22 +0200 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:08:23 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (8.6ms) Completed 200 OK in 108ms (Views: 105.3ms | ActiveRecord: 0.5ms) Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2015-07-22 17:08:27 +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::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (11.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (12.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (57.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (66.2ms) Completed 200 OK in 169ms (Views: 164.8ms | ActiveRecord: 1.0ms) Started PATCH "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:08:31 +0200 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oncBfCWaR37gUx8fD0h1huncxiYUypeFwW8GuMlBSneOcQh4IVTF83HJCylApY8GCKyWl9xuSJ0OSS2bvrzZ6Q==", "invoice"=>{"label"=>"qsdf", "date"=>"22/07/2015", "payment_term_id"=>"", "due_date"=>"21/08/2015", "paid"=>"false", "customer_guid"=>"Dorsale::CustomerVault::Individual-1", "vat_rate"=>"20.0", "advance"=>"0.0", "id_card_id"=>"1", "lines_attributes"=>{"0"=>{"label"=>"grosse", "quantity"=>"1.0", "unit"=>"", "unit_price"=>"1000.0", "_destroy"=>"false", "id"=>"1"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/1/edit", "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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 1 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_invoices" SET "customer_id" = ?, "customer_type" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Individual"], ["updated_at", "2015-07-22 15:08:31.369587"], ["id", 1]]  (0.9ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 27ms (ActiveRecord: 3.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:08:31 +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.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (29.6ms) Completed 200 OK in 120ms (Views: 114.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:08:31 +0200 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:08:32 +0200 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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (16.4ms) Completed 200 OK in 111ms (Views: 107.6ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2015-07-22 17:08:35 +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.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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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 text template (0.0ms) Sent data Facture_2015-01_.pdf (2.0ms) Completed 200 OK in 168ms (Views: 1.9ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:08:54 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.3ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (26.6ms) Completed 200 OK in 139ms (Views: 135.2ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-07-22 17:08:56 +0200 Processing by Dorsale::BillingMachine::QuotationsController#new 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::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (12.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (13.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (60.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (66.2ms) Completed 200 OK in 173ms (Views: 166.2ms | ActiveRecord: 1.0ms) Started POST "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:09:13 +0200 Processing by Dorsale::BillingMachine::QuotationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"CnPaDnL07sc8j40N7sEbHDqgXXBucxeuwxXC91Xz0qwmddMKdjpsSq0VmTuhLOGc29ANwabXyLYMM+nUIg5BMg==", "quotation"=>{"label"=>"Truc trop fort", "date"=>"22/07/2015", "expires_at"=>"22/08/2015", "payment_term_id"=>"", "customer_guid"=>"Dorsale::CustomerVault::Individual-2", "vat_rate"=>"20", "id_card_id"=>"1", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"encore un gros truc", "quantity"=>"1", "unit"=>"", "unit_price"=>"1000000", "_destroy"=>"false"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/new"} 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::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]]  (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_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("label", "customer_id", "customer_type", "id_card_id", "date", "expires_at", "comments", "vat_rate", "total_duty", "vat_amount", "total_all_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Truc trop fort"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Individual"], ["id_card_id", 1], ["date", "2015-07-22"], ["expires_at", "2015-08-22"], ["comments", ""], ["vat_rate", 20.0], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-07-22 15:09:13.834647"], ["updated_at", "2015-07-22 15:09:13.834647"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit", "unit_price", "quotation_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "encore un gros truc"], ["quantity", 1.0], ["unit", ""], ["unit_price", 1000000.0], ["quotation_id", 1], ["total", 1000000.0], ["created_at", "2015-07-22 15:09:13.836887"], ["updated_at", "2015-07-22 15:09:13.836887"]] Dorsale::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.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotations" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_duty", 1000000.0], ["vat_amount", 200000.0], ["total_all_taxes", 1200000.0], ["updated_at", "2015-07-22 15:09:13.840434"], ["id", 1]]  (7.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 26ms (ActiveRecord: 9.1ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:09:13 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.3ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (3.8ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (4.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (1.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (37.0ms) Completed 200 OK in 129ms (Views: 123.9ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:09:14 +0200 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-07-22 17:09:16 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::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]] 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::Individual"]] 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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (14.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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (30.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (56.2ms) Completed 200 OK in 165ms (Views: 161.1ms | ActiveRecord: 1.3ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2015-07-22 17:09:19 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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.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::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] 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"]] 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::Alexandrie::Attachment Load (0.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.0ms) Sent data devis_2015-01_.pdf (0.6ms) Completed 200 OK in 67ms (Views: 0.4ms | ActiveRecord: 2.2ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2015-07-22 17:09:19 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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::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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."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::Individual"]] 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::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_2015-01_.pdf (0.5ms) Completed 200 OK in 45ms (Views: 0.4ms | ActiveRecord: 1.0ms) Started GET "/dorsale/" for ::1 at 2015-07-22 17:10:51 +0200 ActionController::RoutingError (No route matches [GET] "/dorsale"): actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.1) 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.1) 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.1) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.1) lib/rails/engine.rb:518:in `call' railties (4.2.1) lib/rails/application.rb:164: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/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (119.7ms) Started GET "/" for ::1 at 2015-07-22 17:10:58 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (3.5ms) Completed 200 OK in 92ms (Views: 91.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:10:58 +0200 Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:11:00 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (9.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (29.7ms) Completed 200 OK in 133ms (Views: 130.3ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:11:03 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.2ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.4ms) 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::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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (30.5ms) Completed 200 OK in 120ms (Views: 117.0ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:11:06 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.6ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.6ms) 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::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (31.8ms) Completed 200 OK in 119ms (Views: 116.1ms | ActiveRecord: 0.9ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 17:12:51 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 17:12:51 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.4ms)  (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.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (4.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.0ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (4.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (11.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (70.3ms) Completed 200 OK in 170ms (Views: 168.2ms | ActiveRecord: 0.8ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-07-22 17:12:51 +0200 Started GET "/" for ::1 at 2015-07-22 17:12:52 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (2.6ms) Completed 200 OK in 86ms (Views: 85.5ms | ActiveRecord: 0.0ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 17:12:53 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (7.8ms) Dorsale::Flyboy::Folder Load (0.3ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (13.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (47.4ms) Completed 200 OK in 150ms (Views: 144.4ms | ActiveRecord: 0.7ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:12:53 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Task Load (0.2ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (8.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (25.5ms) Completed 200 OK in 113ms (Views: 111.3ms | ActiveRecord: 0.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:12:54 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (29.0ms) Completed 200 OK in 120ms (Views: 116.4ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:12:57 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.0ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (26.3ms) Completed 200 OK in 113ms (Views: 110.4ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:12:58 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (25.7ms) Completed 200 OK in 123ms (Views: 120.1ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:12:59 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (26.8ms) Completed 200 OK in 118ms (Views: 114.8ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:12:59 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.5ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.2ms) 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::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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (26.3ms) Completed 200 OK in 131ms (Views: 127.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:13:00 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (27.3ms) Completed 200 OK in 120ms (Views: 116.7ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:13:01 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (25.6ms) Completed 200 OK in 113ms (Views: 110.4ms | ActiveRecord: 0.8ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.7ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.2ms) 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.1ms) 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.8ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';  (0.7ms) DELETE FROM "dorsale_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.7ms) 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.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.7ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.7ms) 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.7ms) DELETE FROM "dorsale_flyboy_tasks";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.9ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:17:26.461016"], ["updated_at", "2015-07-22 15:17:26.461016"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:17:26.552656"], ["updated_at", "2015-07-22 15:17:26.552656"]] 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", "2015-07-22 15:17:26.554093"], ["updated_at", "2015-07-22 15:17:26.554093"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.2ms) 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.1ms) 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", "2015-07-22 15:17:26.679960"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.7ms) 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.7ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (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_invoice_lines';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoices";  (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_invoices';  (1.1ms) 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';  (1.1ms) 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';  (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';  (1.0ms) DELETE FROM "dorsale_customer_vault_corporations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.0ms) DELETE FROM "dorsale_customer_vault_links";  (0.3ms) 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_flyboy_folders";  (0.2ms) 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.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';  (1.2ms) DELETE FROM "dorsale_flyboy_tasks";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';  (0.9ms) 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.7ms) 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.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:18:20.810559"], ["updated_at", "2015-07-22 15:18:20.810559"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:18:20.886718"], ["updated_at", "2015-07-22 15:18:20.886718"]] 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", "2015-07-22 15:18:20.888199"], ["updated_at", "2015-07-22 15:18:20.888199"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.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.1ms) 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", "2015-07-22 15:18:21.015554"]] 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.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.1ms) 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.6ms) 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.6ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (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_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.7ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_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';  (1.0ms) DELETE FROM "dorsale_billing_machine_quotations";  (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_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.9ms) 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.9ms) 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.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';  (1.2ms) 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.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.6ms) 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.7ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:19:01.305197"], ["updated_at", "2015-07-22 15:19:01.305197"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:19:01.385649"], ["updated_at", "2015-07-22 15:19:01.385649"]] 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", "2015-07-22 15:19:01.387164"], ["updated_at", "2015-07-22 15:19:01.387164"]] 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.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.1ms) 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", "2015-07-22 15:19:01.498474"]] 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]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.3ms) DELETE FROM "dorsale_addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (1.0ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.2ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (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_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.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_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.8ms) 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.7ms) 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';  (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.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.7ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.7ms) 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.7ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:20:36.397404"], ["updated_at", "2015-07-22 15:20:36.397404"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:20:36.484175"], ["updated_at", "2015-07-22 15:20:36.484175"]] 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", "2015-07-22 15:20:36.485585"], ["updated_at", "2015-07-22 15:20:36.485585"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.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", "2015-07-22 15:20:36.627385"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.7ms) INSERT INTO "dorsale_billing_machine_invoices" ("label", "id_card_id", "date", "due_date", "vat_rate", "advance", "paid", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Commande de bombons"], ["id_card_id", 1], ["date", "2015-07-22"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 0.0], ["paid", "f"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:20:36.681425"], ["updated_at", "2015-07-22 15:20:36.681425"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["invoice_id", 1], ["total", 44.8], ["created_at", "2015-07-22 15:20:36.685252"], ["updated_at", "2015-07-22 15:20:36.685252"]] Dorsale::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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 44.8], ["vat_amount", 8.96], ["total_all_taxes", 53.76], ["balance", 53.76], ["updated_at", "2015-07-22 15:20:36.689519"], ["id", 1]]  (1.7ms) 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", "2015-07-22 15:20:36.698781"], ["updated_at", "2015-07-22 15:20:36.698781"]] 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", "2015-07-22 15:20:36.700373"], ["updated_at", "2015-07-22 15:20:36.700373"]] 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.0ms) 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", "2015-07-22 15:20:36.707279"]] ActsAsTaggableOn::Tag Load (0.1ms) 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", "2015-07-22 15:20:36.712161"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.4ms) commit transaction  (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", 2]] SQL (0.4ms) INSERT INTO "dorsale_comments" ("text", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:20:36.730405"], ["updated_at", "2015-07-22 15:20:36.730405"]]  (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", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2015-07-22 15:20:36.751017"], ["updated_at", "2015-07-22 15:20:36.751017"]] 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", "2015-07-22 15:20:36.752834"], ["updated_at", "2015-07-22 15:20:36.752834"]] 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.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", "2015-07-22 15:20:36.759494"]] 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.2ms) 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", "2015-07-22 15:20:36.765374"]] ActsAsTaggableOn::Tag Load (0.1ms) 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]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) 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", "2015-07-22 15:20:36.773507"], ["updated_at", "2015-07-22 15:20:36.773507"]] 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", "2015-07-22 15:20:36.777408"], ["updated_at", "2015-07-22 15:20:36.777408"]] ActsAsTaggableOn::Tag Load (5.1ms) 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.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.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::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", "2015-07-22 15:20:36.791245"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) 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", "2015-07-22 15:20:36.795946"]] 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", "2015-07-22 15:20:36.799741"]] 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.1ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:20:36.805893"], ["updated_at", "2015-07-22 15:20:36.805893"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:20:36.827720"], ["updated_at", "2015-07-22 15:20:36.827720"], ["tracking", "150722-1"]]  (1.1ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:20:36.844523"], ["updated_at", "2015-07-22 15:20:36.844523"]]  (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 "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:20:36.849853"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:20:36.860899"], ["created_at", "2015-07-22 15:20:36.861611"], ["updated_at", "2015-07-22 15:20:36.861611"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:20:36.863596"], ["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", "2015-07-22 15:20:36.867151"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) 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.2ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:20:36.871440"], ["updated_at", "2015-07-22 15:20:36.871440"]]  (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.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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:20:36.874658"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:20:36.877622"], ["updated_at", "2015-07-22 15:20:36.877622"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:20:36.880808"], ["created_at", "2015-07-22 15:20:36.881145"], ["updated_at", "2015-07-22 15:20:36.881145"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:20:36.882382"], ["id", 3]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.5ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (1.0ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (1.1ms) DELETE FROM "dorsale_billing_machine_invoices";  (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_invoices';  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_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';  (1.1ms) 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.8ms) 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.8ms) 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.7ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.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';  (0.9ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:21:11.024659"], ["updated_at", "2015-07-22 15:21:11.024659"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:21:11.105059"], ["updated_at", "2015-07-22 15:21:11.105059"]] 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", "2015-07-22 15:21:11.106584"], ["updated_at", "2015-07-22 15:21:11.106584"]] 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.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.4ms) 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", "2015-07-22 15:21:11.232090"]] ActsAsTaggableOn::Tag Load (0.2ms) 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.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", "date", "due_date", "vat_rate", "advance", "paid", "total_duty", "vat_amount", "total_all_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"], ["date", "2015-07-22"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 0.0], ["paid", "f"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:21:11.277144"], ["updated_at", "2015-07-22 15:21:11.277144"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["invoice_id", 1], ["total", 44.8], ["created_at", "2015-07-22 15:21:11.279409"], ["updated_at", "2015-07-22 15:21:11.279409"]] Dorsale::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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (2.5ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 44.8], ["vat_amount", 8.96], ["total_all_taxes", 53.76], ["balance", 53.76], ["updated_at", "2015-07-22 15:21:11.283186"], ["id", 1]]  (1.6ms) 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", "2015-07-22 15:21:11.292903"], ["updated_at", "2015-07-22 15:21:11.292903"]] 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", "2015-07-22 15:21:11.294388"], ["updated_at", "2015-07-22 15:21:11.294388"]] 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.0ms) 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.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", "2015-07-22 15:21:11.300769"]] ActsAsTaggableOn::Tag Load (0.1ms) 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", "2015-07-22 15:21:11.304655"]] 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.2ms) 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", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:21:11.317363"], ["updated_at", "2015-07-22 15:21:11.317363"]]  (0.8ms) 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", "2015-07-22 15:21:11.333439"], ["updated_at", "2015-07-22 15:21:11.333439"]] 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", "2015-07-22 15:21:11.335627"], ["updated_at", "2015-07-22 15:21:11.335627"]] 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", "2015-07-22 15:21:11.341744"]] 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.0ms) 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", "2015-07-22 15:21:11.344597"]] 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", "2015-07-22 15:21:11.351623"], ["updated_at", "2015-07-22 15:21:11.351623"]] 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", "2015-07-22 15:21:11.353438"], ["updated_at", "2015-07-22 15:21:11.353438"]] ActsAsTaggableOn::Tag Load (2.6ms) 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.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", "2015-07-22 15:21:11.365734"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.2ms) 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", "2015-07-22 15:21:11.369361"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 6]] SQL (0.2ms) 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", "2015-07-22 15:21:11.375567"]] 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.2ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:21:11.382018"], ["updated_at", "2015-07-22 15:21:11.382018"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:21:11.403688"], ["updated_at", "2015-07-22 15:21:11.403688"], ["tracking", "150722-1"]]  (1.1ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:21:11.418263"], ["updated_at", "2015-07-22 15:21:11.418263"]]  (0.2ms) 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.2ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:21:11.424322"], ["id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:21:11.434874"], ["created_at", "2015-07-22 15:21:11.435452"], ["updated_at", "2015-07-22 15:21:11.435452"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:21:11.437168"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2015-07-22 15:21:11.440125"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:21:11.444356"], ["updated_at", "2015-07-22 15:21:11.444356"]]  (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", "2015-07-22 15:21:11.447860"], ["id", 1]]  (0.9ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:21:11.451260"], ["updated_at", "2015-07-22 15:21:11.451260"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:21:11.455095"], ["created_at", "2015-07-22 15:21:11.455668"], ["updated_at", "2015-07-22 15:21:11.455668"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:21:11.458147"], ["id", 3]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.0ms) DELETE FROM "dorsale_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.2ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (1.1ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (1.2ms) DELETE FROM "dorsale_billing_machine_invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';  (1.2ms) 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.8ms) 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.0ms) 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.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.7ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.8ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.7ms) 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.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';  (0.9ms) DELETE FROM "taggings";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:22:57.156872"], ["updated_at", "2015-07-22 15:22:57.156872"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2015-07-22 15:22:57.165483"], ["updated_at", "2015-07-22 15:22:57.165483"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:22:57.238919"], ["updated_at", "2015-07-22 15:22:57.238919"]] 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", "2015-07-22 15:22:57.240317"], ["updated_at", "2015-07-22 15:22:57.240317"]] 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.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.1ms) 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", "2015-07-22 15:22:57.366586"]] 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.2ms) commit transaction  (0.1ms) begin transaction  (0.3ms) 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", "date", "due_date", "vat_rate", "advance", "paid", "total_duty", "vat_amount", "total_all_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], ["date", "2015-07-22"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 0.0], ["paid", "f"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:22:57.407202"], ["updated_at", "2015-07-22 15:22:57.407202"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["invoice_id", 1], ["total", 44.8], ["created_at", "2015-07-22 15:22:57.410731"], ["updated_at", "2015-07-22 15:22:57.410731"]] Dorsale::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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 44.8], ["vat_amount", 8.96], ["total_all_taxes", 53.76], ["balance", 53.76], ["updated_at", "2015-07-22 15:22:57.415720"], ["id", 1]]  (1.3ms) 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", "2015-07-22 15:22:57.422413"], ["updated_at", "2015-07-22 15:22:57.422413"]] 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", "2015-07-22 15:22:57.423850"], ["updated_at", "2015-07-22 15:22:57.423850"]] 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.0ms) 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", "2015-07-22 15:22:57.429779"]] ActsAsTaggableOn::Tag Load (0.1ms) 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", "2015-07-22 15:22:57.432691"]] 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.3ms) commit transaction  (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", 2]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("text", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:22:57.448373"], ["updated_at", "2015-07-22 15:22:57.448373"]]  (0.8ms) 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", "2015-07-22 15:22:57.462920"], ["updated_at", "2015-07-22 15:22:57.462920"]] 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", "2015-07-22 15:22:57.464419"], ["updated_at", "2015-07-22 15:22:57.464419"]] 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", "2015-07-22 15:22:57.469346"]] ActsAsTaggableOn::Tag Load (0.1ms) 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.0ms) 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", "2015-07-22 15:22:57.472271"]] 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]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:22:57.477875"], ["updated_at", "2015-07-22 15:22:57.477875"]] 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", "2015-07-22 15:22:57.479179"], ["updated_at", "2015-07-22 15:22:57.479179"]] ActsAsTaggableOn::Tag Load (2.4ms) 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.0ms) 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.0ms) 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.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::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", "2015-07-22 15:22:57.488609"]] ActsAsTaggableOn::Tag Load (0.1ms) 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", "2015-07-22 15:22:57.491762"]] 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", "2015-07-22 15:22:57.495087"]] 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.5ms) 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", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:22:57.503453"], ["updated_at", "2015-07-22 15:22:57.503453"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:22:57.526053"], ["updated_at", "2015-07-22 15:22:57.526053"], ["tracking", "150722-1"]]  (1.0ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:22:57.538004"], ["updated_at", "2015-07-22 15:22:57.538004"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:22:57.541617"], ["id", 1]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:22:57.550544"], ["created_at", "2015-07-22 15:22:57.551037"], ["updated_at", "2015-07-22 15:22:57.551037"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:22:57.552377"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2015-07-22 15:22:57.554569"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) 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.2ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:22:57.558308"], ["updated_at", "2015-07-22 15:22:57.558308"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:22:57.560932"], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:22:57.563541"], ["updated_at", "2015-07-22 15:22:57.563541"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:22:57.566623"], ["created_at", "2015-07-22 15:22:57.566954"], ["updated_at", "2015-07-22 15:22:57.566954"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:22:57.568199"], ["id", 3]]  (0.8ms) commit transaction Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:23:21 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.3ms) Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (23.9ms) Completed 200 OK in 122ms (Views: 119.6ms | ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:23:22 +0200 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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (27.6ms) Completed 200 OK in 122ms (Views: 118.5ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2015-07-22 17:23:26 +0200 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.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::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::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (12.8ms) Completed 200 OK in 105ms (Views: 100.9ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:23:36 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.5ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (26.9ms) Completed 200 OK in 130ms (Views: 126.3ms | ActiveRecord: 0.9ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.1ms) 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.7ms) 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';  (1.0ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.2ms) 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';  (1.1ms) DELETE FROM "dorsale_billing_machine_invoices";  (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_invoices';  (1.0ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (1.0ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.4ms) 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.0ms) 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.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.7ms) 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.7ms) 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.7ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.7ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.8ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'taggings';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (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", "2015-07-22 15:25:02.385912"], ["updated_at", "2015-07-22 15:25:02.385912"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2015-07-22 15:25:02.394533"], ["updated_at", "2015-07-22 15:25:02.394533"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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", "2015-07-22 15:25:02.468784"], ["updated_at", "2015-07-22 15:25:02.468784"]] 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", "2015-07-22 15:25:02.470305"], ["updated_at", "2015-07-22 15:25:02.470305"]] 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.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.1ms) 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", "2015-07-22 15:25:02.593074"]] 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]]  (0.9ms) 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", "date", "due_date", "vat_rate", "advance", "paid", "total_duty", "vat_amount", "total_all_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], ["date", "2015-07-22"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 0.0], ["paid", "f"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", 0.0], ["created_at", "2015-07-22 15:25:02.636678"], ["updated_at", "2015-07-22 15:25:02.636678"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit_price", "invoice_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Bombons en sucre"], ["quantity", 3.2], ["unit_price", 14.0], ["invoice_id", 1], ["total", 44.8], ["created_at", "2015-07-22 15:25:02.638923"], ["updated_at", "2015-07-22 15:25:02.638923"]] Dorsale::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]]  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] SQL (0.6ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 44.8], ["vat_amount", 8.96], ["total_all_taxes", 53.76], ["balance", 53.76], ["updated_at", "2015-07-22 15:25:02.642497"], ["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", "2015-07-22 15:25:02.650154"], ["updated_at", "2015-07-22 15:25:02.650154"]] 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", "2015-07-22 15:25:02.651879"], ["updated_at", "2015-07-22 15:25:02.651879"]] 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.0ms) 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.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", "2015-07-22 15:25:02.657923"]] ActsAsTaggableOn::Tag Load (0.0ms) 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.0ms) 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", "2015-07-22 15:25:02.660927"]] 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.2ms) 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", "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."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 15:25:02.673746"], ["updated_at", "2015-07-22 15:25:02.673746"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.3ms) INSERT INTO "dorsale_billing_machine_quotations" ("label", "id_card_id", "customer_id", "customer_type", "payment_term_id", "date", "expires_at", "vat_rate", "total_duty", "vat_amount", "total_all_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], ["date", "2015-07-22"], ["expires_at", "2015-08-22"], ["vat_rate", 20.0], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["created_at", "2015-07-22 15:25:02.704764"], ["updated_at", "2015-07-22 15:25:02.704764"], ["unique_index", 1], ["tracking_id", "2015-01"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "quotation_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Développement"], ["quantity", 14.0], ["unit_price", 750.0], ["quotation_id", 1], ["total", 10500.0], ["created_at", "2015-07-22 15:25:02.706872"], ["updated_at", "2015-07-22 15:25:02.706872"]] Dorsale::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.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.3ms) UPDATE "dorsale_billing_machine_quotations" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_duty", 10500.0], ["vat_amount", 2100.0], ["total_all_taxes", 12600.0], ["updated_at", "2015-07-22 15:25:02.710405"], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit_price", "quotation_id", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Gestion de projet"], ["quantity", 5.0], ["unit_price", 1200.0], ["quotation_id", 1], ["total", 6000.0], ["created_at", "2015-07-22 15:25:02.711975"], ["updated_at", "2015-07-22 15:25:02.711975"]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_duty", 16500.0], ["vat_amount", 3300.0], ["total_all_taxes", 19800.0], ["updated_at", "2015-07-22 15:25:02.714584"], ["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", "2015-07-22 15:25:02.734690"], ["updated_at", "2015-07-22 15:25:02.734690"]] 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", "2015-07-22 15:25:02.736299"], ["updated_at", "2015-07-22 15:25:02.736299"]] 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", "2015-07-22 15:25:02.741549"]] 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", "2015-07-22 15:25:02.744593"]] 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.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-07-22 15:25:02.751366"], ["updated_at", "2015-07-22 15:25:02.751366"]] 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", "2015-07-22 15:25:02.752800"], ["updated_at", "2015-07-22 15:25:02.752800"]] ActsAsTaggableOn::Tag Load (2.6ms) 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.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.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::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", "2015-07-22 15:25:02.762648"]] 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.0ms) 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", "2015-07-22 15:25:02.765530"]] 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.0ms) 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", "2015-07-22 15:25:02.768308"]] 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.1ms) commit transaction  (0.0ms) 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.2ms) INSERT INTO "dorsale_comments" ("text", "commentable_id", "commentable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["text", "Développeur, premier contact pour mutualiser un projet."], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2015-07-22 15:25:02.774290"], ["updated_at", "2015-07-22 15:25:02.774290"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2015-07-22') 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", "2015-07-22 15:25:02.794676"], ["updated_at", "2015-07-22 15:25:02.794676"], ["tracking", "150722-1"]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:25:02.807404"], ["updated_at", "2015-07-22 15:25:02.807404"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2015-07-22 15:25:02.811221"], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Traduction française terminée"], ["progress", 50], ["task_id", 1], ["date", "2015-07-22 15:25:02.821982"], ["created_at", "2015-07-22 15:25:02.822733"], ["updated_at", "2015-07-22 15:25:02.822733"]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:25:02.825121"], ["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.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 "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2015-07-22 15:25:02.828556"], ["id", 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.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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:25:02.834166"], ["updated_at", "2015-07-22 15:25:02.834166"]]  (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 "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2015-07-22 15:25:02.838444"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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", "2015-07-29"], ["term", "2015-08-21"], ["progress", 0], ["created_at", "2015-07-22 15:25:02.841683"], ["updated_at", "2015-07-22 15:25:02.841683"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_flyboy_task_comments" ("description", "progress", "task_id", "date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["task_id", 3], ["date", "2015-07-22 15:25:02.844945"], ["created_at", "2015-07-22 15:25:02.845278"], ["updated_at", "2015-07-22 15:25:02.845278"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2015-07-22 15:25:02.846897"], ["id", 3]]  (0.9ms) commit transaction Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:25:05 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.4ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (26.8ms) Completed 200 OK in 120ms (Views: 117.3ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-07-22 17:25:07 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::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::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::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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (1.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (10.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (24.1ms) Completed 200 OK in 117ms (Views: 113.3ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/1.pdf" for ::1 at 2015-07-22 17:25:15 +0200 Processing by Dorsale::BillingMachine::QuotationsController#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::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.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_2015-01_.pdf (0.6ms) Completed 200 OK in 60ms (Views: 0.5ms | ActiveRecord: 1.1ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 17:25:22 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) Dorsale::Flyboy::Folder Load (0.3ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (6.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (29.3ms) Completed 200 OK in 131ms (Views: 129.2ms | ActiveRecord: 0.6ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 17:25:23 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 17:25:23 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (8.8ms)  (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.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.9ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (4.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (81.8ms) Completed 200 OK in 177ms (Views: 174.6ms | ActiveRecord: 0.9ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-07-22 17:25:23 +0200 Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:25:25 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.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.1ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (10.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (29.7ms) Completed 200 OK in 132ms (Views: 130.0ms | ActiveRecord: 0.6ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 17:25:25 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.0ms) Dorsale::Flyboy::Folder Load (0.2ms) 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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (5.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (29.3ms) Completed 200 OK in 128ms (Views: 126.4ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:25:26 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.3ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (27.4ms) Completed 200 OK in 120ms (Views: 116.2ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:25:27 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.2ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (29.1ms) Completed 200 OK in 128ms (Views: 124.6ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:25:40 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.6ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (30.7ms) Completed 200 OK in 149ms (Views: 145.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:25:40 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:25:41 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:25:49 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (4.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (31.2ms) Completed 200 OK in 140ms (Views: 136.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:25:49 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:25:50 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 17:25:52 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 17:25:52 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (7.8ms)  (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.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (4.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (9.8ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (4.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (71.2ms) Completed 200 OK in 161ms (Views: 158.9ms | ActiveRecord: 0.8ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2015-07-22 17:25:52 +0200 Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:25:52 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Task Load (0.2ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (8.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (25.8ms) Completed 200 OK in 131ms (Views: 128.8ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:25:53 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.9ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (29.0ms) Completed 200 OK in 124ms (Views: 120.8ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:25:53 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.8ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.1ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (26.8ms) Completed 200 OK in 121ms (Views: 118.3ms | ActiveRecord: 0.8ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2015-07-22 17:25:54 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2015-07-22 17:25:54 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/_breadcrumb.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.4ms)  (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.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.0ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.7ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (66.9ms) Completed 200 OK in 163ms (Views: 160.4ms | ActiveRecord: 0.8ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2015-07-22 17:25:54 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) Dorsale::Flyboy::Folder Load (0.3ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (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 < '2015-07-22')  (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 > '2015-07-22' AND reminder < '2015-07-22') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (5.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (27.6ms) Completed 200 OK in 129ms (Views: 127.1ms | ActiveRecord: 0.7ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:25:55 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.7ms) Dorsale::Flyboy::Task Load (0.2ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (8.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (25.9ms) Completed 200 OK in 121ms (Views: 119.2ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:25:56 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (1.6ms) 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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (2.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (29.8ms) Completed 200 OK in 142ms (Views: 138.9ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-07-22 17:25:57 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1.7ms) Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (2.6ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (28.2ms) Completed 200 OK in 122ms (Views: 118.4ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:26:02 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (3.1ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (3.7ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC 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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (5.9ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (40.3ms) Completed 200 OK in 148ms (Views: 143.1ms | ActiveRecord: 1.7ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2015-07-22 17:26:02 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (0.8ms) 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" IN (1) Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" IN (2) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (8.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (27.8ms) Completed 200 OK in 117ms (Views: 114.9ms | ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-07-22 17:28:52 +0200 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (3.5ms) Completed 200 OK in 89ms (Views: 88.4ms | ActiveRecord: 0.0ms)  (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)   (0.9ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (1.0ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.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)  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.8ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.7ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.9ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (0.9ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.1ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.8ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326') Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:39:21 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::QuotationsController#index as HTML 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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (703.7ms) Dorsale::BillingMachine::Quotation Load (0.5ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (27.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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (36.4ms)  (0.4ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (815.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 1418ms (Views: 1292.1ms | ActiveRecord: 3.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:39:22 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for 127.0.0.1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:39:23 +0200 Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-07-22 17:39:25 +0200 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.3ms) 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.5ms) 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::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]] Dorsale::BillingMachine::QuotationLine Load (0.5ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (71.0ms) Dorsale::Alexandrie::Attachment Load (0.5ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (86.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (139.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 223.4ms | ActiveRecord: 3.6ms) Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-07-22 17:39:27 +0200 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::QuotationLine Load (0.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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (18.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (12.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (18.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (129.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (138.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 253ms (Views: 248.7ms | ActiveRecord: 1.6ms) Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2015-07-22 17:39:28 +0200 Processing by Dorsale::BillingMachine::QuotationsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vq80BbfZ5vFVSOJ/kwe+0yTX3laFACmg/SVRC5NyOmaSqT0BsxdkfMTS9knc6kRTxaeO502k9rgyA3oo5I+p+A==", "quotation"=>{"label"=>"Application sur mesure", "date"=>"22/07/2015", "expires_at"=>"22/08/2015", "payment_term_id"=>"1", "customer_guid"=>"Dorsale::CustomerVault::Corporation-2", "vat_rate"=>"20.0", "id_card_id"=>"1", "comments"=>"", "lines_attributes"=>{"0"=>{"label"=>"Développement", "quantity"=>"14.0", "unit"=>"", "unit_price"=>"750.0", "_destroy"=>"false", "id"=>"1"}, "1"=>{"label"=>"Gestion de projet", "quantity"=>"5.0", "unit"=>"", "unit_price"=>"1200.0", "_destroy"=>"false", "id"=>"2"}}}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/edit", "id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Dorsale::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::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" IN (1, 2) ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 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]]  (0.1ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "comments" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["comments", ""], ["updated_at", "2015-07-22 15:39:28.689886"], ["id", 1]] SQL (0.2ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "unit" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["unit", ""], ["updated_at", "2015-07-22 15:39:28.692437"], ["id", 1]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "unit" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["unit", ""], ["updated_at", "2015-07-22 15:39:28.698813"], ["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::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT "dorsale_billing_machine_quotation_lines"."total" FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (1.0ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 34ms (ActiveRecord: 4.1ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-07-22 17:39:28 +0200 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (3.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (4.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (4.9ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (44.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 159ms (Views: 153.1ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2015-07-22 17:39:28 +0200 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-07-22 17:39:28 +0200 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-07-22 17:39:28 +0200 Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for 127.0.0.1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/billing_machine/invoices.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/billing_machine/quotations.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/datepicker.self.js?body=1" for 127.0.0.1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/application.self.js?body=1" for ::1 at 2015-07-22 17:39:29 +0200 Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-07-22 17:39:29 +0200 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddOwnersToTasks (20150803152643)  (0.4ms) begin transaction  (0.6ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_id" integer  (0.2ms) ALTER TABLE "dorsale_flyboy_tasks" ADD "owner_type" varchar SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803152643"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.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'  (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'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (1.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar)   (1.0ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (1.1ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.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_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (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)  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (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.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'  (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.1ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.8ms) 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.3ms) 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.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (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'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.8ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) 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_id" integer, "owner_type" varchar)  (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (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)  (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)   (0.8ms) 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.1ms) 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")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20150803160334)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150803160334"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (1.3ms) 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) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (1.0ms) 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.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)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.8ms) 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.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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.9ms) 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.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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.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'  (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.9ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) 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")  (0.9ms) 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.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.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_id" integer, "owner_type" varchar)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.8ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.0ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (0.9ms) 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)   (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'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (5.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)   (0.8ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (1.0ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.7ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.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)  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.8ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.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'   (0.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'  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.8ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.8ms) 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")  (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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.9ms) 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_id" integer, "owner_type" varchar)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.9ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.0ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.8ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643') Dorsale::Flyboy::Task Load (2.8ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddAuthorToComments (20150805133509) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddAuthorToComments (20150805133509)  (0.1ms) begin transaction  (5.7ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_type" varchar  (0.3ms) ALTER TABLE "dorsale_flyboy_task_comments" ADD "author_id" integer SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805133509"]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.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.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (5.8ms) 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) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (1.5ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (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)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (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_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (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.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.3ms) 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_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (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.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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (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_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.9ms) 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.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'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (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" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) 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.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.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.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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.0ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) 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_id" integer, "owner_type" varchar)  (0.7ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.8ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.8ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.8ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (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)   (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'   (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805133509')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643')  (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)   (0.9ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (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)   (0.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)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.7ms) 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.6ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.7ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.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)   (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.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.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.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.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (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" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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.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.9ms) 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'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.8ms) 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)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (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_id" integer, "owner_type" varchar)  (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.6ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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.0ms) 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'   (0.8ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (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")  (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)   (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")  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805133509')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPolymorphicUsersToComments (20150805134318)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "dorsale_comments" ADD "author_type" varchar SQL (0.5ms) UPDATE "dorsale_comments" SET "author_type" = 'User' WHERE "dorsale_comments"."id" IN (SELECT "dorsale_comments"."id" FROM "dorsale_comments" ORDER BY "dorsale_comments"."created_at" DESC)  (1.3ms) CREATE TEMPORARY TABLE "adorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)   (0.1ms) SELECT * FROM "dorsale_comments"  (0.1ms) INSERT INTO "adorsale_comments" ("id","author_id","user_type","commentable_id","commentable_type","text","created_at","updated_at","author_type") VALUES (1, NULL, NULL, 2, 'Dorsale::CustomerVault::Corporation', 'Je viens d''avoir cette boite au téléphone, il faut leur faire un devis.', '2015-07-22 15:25:02.673746', '2015-07-22 15:25:02.673746', 'User')  (0.1ms) INSERT INTO "adorsale_comments" ("id","author_id","user_type","commentable_id","commentable_type","text","created_at","updated_at","author_type") VALUES (2, NULL, NULL, 2, 'Dorsale::CustomerVault::Individual', 'Développeur, premier contact pour mutualiser un projet.', '2015-07-22 15:25:02.774290', '2015-07-22 15:25:02.774290', 'User')  (0.7ms) DROP TABLE "dorsale_comments"  (0.2ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)  (0.1ms) SELECT * FROM "adorsale_comments"  (0.1ms) INSERT INTO "dorsale_comments" ("id","author_id","user_type","commentable_id","commentable_type","text","created_at","updated_at","author_type") VALUES (1, NULL, NULL, 2, 'Dorsale::CustomerVault::Corporation', 'Je viens d''avoir cette boite au téléphone, il faut leur faire un devis.', '2015-07-22 15:25:02.673746', '2015-07-22 15:25:02.673746', 'User')  (0.1ms) INSERT INTO "dorsale_comments" ("id","author_id","user_type","commentable_id","commentable_type","text","created_at","updated_at","author_type") VALUES (2, NULL, NULL, 2, 'Dorsale::CustomerVault::Individual', 'Développeur, premier contact pour mutualiser un projet.', '2015-07-22 15:25:02.774290', '2015-07-22 15:25:02.774290', 'User')  (0.3ms) DROP TABLE "adorsale_comments" SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150805134318"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.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.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'   (5.8ms) 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) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar)  (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)   (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "vat_rate" decimal, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.9ms) 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.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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (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_duty" decimal, "vat_amount" decimal, "total_all_taxes" decimal, "unique_index" integer, "vat_rate" decimal, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar)   (0.7ms) 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'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (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.1ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.5ms) 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.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.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.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.9ms) 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_id" integer, "owner_type" varchar)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (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)  (0.7ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.7ms) 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'   (0.8ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.1ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805134318')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805133509') 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.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.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.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-01-27 22:10:37 +0100 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (19.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (4.6ms) Completed 200 OK in 8307ms (Views: 8296.7ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:10:45 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:10:45 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:10:45 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:10:46 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:10:49 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) 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 Completed 500 Internal Server Error in 57ms (ActiveRecord: 2.9ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (68.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:10: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.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.5ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (66.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20160127211222)  (0.1ms) begin transaction  (0.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)  SQLite3::SQLException: table "dorsale_addresses" already exists: 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)  (0.0ms) rollback transaction Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:15:01 +0100 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Completed 500 Internal Server Error in 78ms (ActiveRecord: 2.6ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (72.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:16:20 +0100 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" 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 Completed 500 Internal Server Error in 79ms (ActiveRecord: 1.6ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (75.5ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-01-27 22:16:25 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.7ms) NoMethodError (undefined method `state' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:27:in `block in index' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:27:in `select' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (67.1ms) Started GET "/dorsale" for ::1 at 2016-01-27 22:16:31 +0100 ActionController::RoutingError (No route matches [GET] "/dorsale"): 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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (14.0ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (175.3ms) Started GET "/" for ::1 at 2016-01-27 22:16:35 +0100 Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (16.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.5ms) Completed 200 OK in 378ms (Views: 377.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:16:36 +0100 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-01-27 22:16:37 +0100 Processing by Dorsale::CustomerVault::PeopleController#index as HTML Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-01-27 22:16:37 +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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1071.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (6.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (15.8ms)  (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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (44.5ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (9.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (1205.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 1360ms (Views: 1355.1ms | ActiveRecord: 1.4ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 22:16:39 +0100 Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-01-27 22:16:40 +0100 Processing by Dorsale::Flyboy::TasksController#index as HTML Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (70.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (3.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (3.8ms) 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/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (48.0ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (153.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 318ms (Views: 301.9ms | ActiveRecord: 1.4ms) Started GET "/dorsale/users" for ::1 at 2016-01-27 22:16:43 +0100 Processing by Dorsale::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/users/_list.html.slim (8.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (18.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 159ms (Views: 156.4ms | ActiveRecord: 0.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:16: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 Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.5ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (68.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:16:44 +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 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms) NoMethodError (undefined method `total_excluding_taxes' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27:in `map' /Users/benoit/Sources/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:27: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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.9ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.3ms)  (1.3ms) 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) 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.1ms) 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.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.3ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) 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)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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'  (0.9ms) 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.3ms) 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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.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'  (0.9ms) 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")  (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)  (0.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.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)  (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)   (0.8ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) 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'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.8ms) 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)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) 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)  (0.7ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.8ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.8ms) 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.3ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.0ms) 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")  (0.9ms) 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)   (0.9ms) 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")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (4.0ms) 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.2ms) DROP TABLE "dorsale_alexandrie_attachments"  (0.8ms) 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)   (0.9ms) DROP TABLE "dorsale_billing_machine_id_cards"  (0.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)   (0.9ms) 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.2ms) 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.3ms) 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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) 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"  (0.9ms) 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.0ms) 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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.0ms) DROP TABLE "dorsale_billing_machine_quotations"  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.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'  (0.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'   (1.0ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (0.9ms) 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)  (0.9ms) DROP TABLE "dorsale_customer_vault_corporations"  (0.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)  (0.9ms) DROP TABLE "dorsale_customer_vault_individuals"  (0.8ms) 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.0ms) DROP TABLE "dorsale_customer_vault_links"  (0.8ms) 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.6ms) 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.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.8ms) 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.1ms) DROP TABLE "dorsale_flyboy_folders"  (1.0ms) 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.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.9ms) DROP TABLE "dorsale_flyboy_task_comments"  (0.8ms) 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)   (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) DROP TABLE "dorsale_flyboy_tasks"  (0.9ms) 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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) DROP TABLE "dummy_models"  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) DROP TABLE "taggings"  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.9ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.9ms) DROP TABLE "tags"  (0.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.1ms) DROP TABLE "users"  (0.9ms) 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)   (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (2.0ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725') 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.6ms) 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.8ms) 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.9ms) 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.7ms) 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.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.7ms) 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.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'demo@agilidee.com' LIMIT 1  (0.1ms) rollback 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-01-27 21:19:11.121709"], ["updated_at", "2016-01-27 21:19:11.121709"]]  (5.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2016-01-27 21:19:11.132335"], ["updated_at", "2016-01-27 21:19:11.132335"]]  (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-01-27 21:19:11.192000"], ["updated_at", "2016-01-27 21:19:11.192000"]] 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-01-27 21:19:11.193952"], ["updated_at", "2016-01-27 21:19:11.193952"]] 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.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-01-27 21:19:11.301642"]] 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]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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-02-26"], ["date", "2016-01-27"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-01-27 21:19:11.353786"], ["updated_at", "2016-01-27 21:19:11.353786"], ["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-01-27 21:19:11.356001"], ["updated_at", "2016-01-27 21:19:11.356001"]] Dorsale::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.2ms) 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-01-27 21:19:11.364438"], ["updated_at", "2016-01-27 21:19:11.364438"]] 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-01-27 21:19:11.365807"], ["updated_at", "2016-01-27 21:19:11.365807"]] 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-01-27 21:19:11.374772"]] 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-01-27 21:19:11.379040"]] 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.0ms) commit transaction  (0.0ms) 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-01-27 21:19:11.394555"], ["updated_at", "2016-01-27 21:19:11.394555"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.3ms) 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-01-27"], ["expires_at", "2016-02-27"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-01-27 21:19:11.419116"], ["updated_at", "2016-01-27 21:19:11.419116"], ["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-01-27 21:19:11.421265"], ["updated_at", "2016-01-27 21:19:11.421265"]] Dorsale::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-01-27 21:19:11.425930"], ["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-01-27 21:19:11.428185"], ["updated_at", "2016-01-27 21:19:11.428185"]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.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-01-27 21:19:11.431721"], ["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-01-27 21:19:11.447915"], ["updated_at", "2016-01-27 21:19:11.447915"]] 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-01-27 21:19:11.449405"], ["updated_at", "2016-01-27 21:19:11.449405"]] 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-01-27 21:19:11.454709"]] 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.0ms) 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-01-27 21:19:11.457798"]] 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.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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-01-27 21:19:11.463713"], ["updated_at", "2016-01-27 21:19:11.463713"]] 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-01-27 21:19:11.465160"], ["updated_at", "2016-01-27 21:19:11.465160"]] ActsAsTaggableOn::Tag Load (3.1ms) 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.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.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::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-01-27 21:19:11.476410"]] 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.0ms) 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-01-27 21:19:11.479541"]] 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-01-27 21:19:11.482574"]] 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.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-01-27 21:19:11.491940"], ["updated_at", "2016-01-27 21:19:11.491940"]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-01-27') 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-01-27 21:19:11.502904"], ["updated_at", "2016-01-27 21:19:11.502904"], ["tracking", "160127-1"]]  (0.9ms) commit transaction  (0.0ms) 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-02-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 21:19:11.517520"], ["updated_at", "2016-01-27 21:19:11.517520"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2016-01-27 21:19:11.521221"], ["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-01-27 21:19:11.531865"], ["created_at", "2016-01-27 21:19:11.534381"], ["updated_at", "2016-01-27 21:19:11.534381"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-01-27 21:19:11.535970"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-01-27 21:19:11.538547"], ["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-02-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 21:19:11.543129"], ["updated_at", "2016-01-27 21:19:11.543129"]]  (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 "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2016-01-27 21:19:11.547342"], ["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-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 21:19:11.551129"], ["updated_at", "2016-01-27 21:19:11.551129"]]  (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-01-27 21:19:11.555250"], ["created_at", "2016-01-27 21:19:11.557436"], ["updated_at", "2016-01-27 21:19:11.557436"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-01-27 21:19:11.558863"], ["id", 3]]  (0.7ms) commit transaction Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:19:26 +0100 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1149.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (17.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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (40.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1250.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 1784ms (Views: 1693.3ms | ActiveRecord: 2.2ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:19:28 +0100 Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-01-27 22:19:31 +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.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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (15.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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (140.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (155.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 348ms (Views: 335.0ms | ActiveRecord: 2.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-01-27 22:19:44 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (8.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (5.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (11.4ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (13.7ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (64.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 224ms (Views: 201.2ms | ActiveRecord: 1.8ms) Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2016-01-27 22:19:47 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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::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]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) 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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (25.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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (48.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (84.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (97.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 241ms (Views: 236.5ms | ActiveRecord: 1.9ms) Started POST "/dorsale/billing_machine/quotations/1/copy" for ::1 at 2016-01-27 22:19:50 +0100 Processing by Dorsale::BillingMachine::QuotationsController#copy as HTML Parameters: {"authenticity_token"=>"JgQLJ+j7oIcuczH2V+2+feVnN/msTJZINw3Q9/deM+AiuB//9EZeYxdvyk2GClZB3TStZ710Tk5RIuxq48HSZg==", "id"=>"1"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]  (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_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (2.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "expires_at", "tracking_id", "commercial_discount", "state", "created_at", "updated_at", "unique_index") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 1], ["payment_term_id", 1], ["date", "2016-01-27"], ["label", "Application sur mesure"], ["total_excluding_taxes", 16500.0], ["vat_amount", 3300.0], ["total_including_taxes", 19800.0], ["expires_at", "2016-02-27"], ["tracking_id", "2016-02"], ["commercial_discount", 0.0], ["state", "pending"], ["created_at", "2016-01-27 21:19:50.960468"], ["updated_at", "2016-01-27 21:19:50.960468"], ["unique_index", 2]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "vat_rate", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 2], ["label", "Développement"], ["quantity", 14.0], ["unit_price", 750.0], ["total", 10500.0], ["vat_rate", 20.0], ["created_at", "2016-01-27 21:19:50.965922"], ["updated_at", "2016-01-27 21:19:50.965922"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 2]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 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-01-27 21:19:50.970946"], ["id", 2]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "vat_rate", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 2], ["label", "Gestion de projet"], ["quantity", 5.0], ["unit_price", 1200.0], ["total", 6000.0], ["vat_rate", 20.0], ["created_at", "2016-01-27 21:19:50.973388"], ["updated_at", "2016-01-27 21:19:50.973388"]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 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]] 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-01-27 21:19:50.978236"], ["id", 2]]  (1.0ms) commit transaction 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"]] Redirected to http://localhost:3000/dorsale/billing_machine/quotations/2/edit Completed 302 Found in 62ms (ActiveRecord: 5.8ms) Started GET "/dorsale/billing_machine/quotations/2/edit" for ::1 at 2016-01-27 22:19:51 +0100 Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] 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::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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (26.6ms) Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (87.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (93.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (101.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.9ms) Completed 200 OK in 265ms (Views: 250.5ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:19:51 +0100 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:19: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.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.5ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (31.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 171ms (Views: 167.0ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-01-27 22:19:55 +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.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/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (15.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (20.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 170ms (Views: 166.3ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/1/copy" for ::1 at 2016-01-27 22:19:57 +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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (67.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (77.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (3.4ms) Completed 200 OK in 217ms (Views: 210.2ms | ActiveRecord: 1.1ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:20: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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (32.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 172ms (Views: 167.8ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-01-27 22:20:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (5.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (5.2ms) Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (6.8ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (36.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 183ms (Views: 179.0ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-01-27 22:20:26 +0100 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" 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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (3.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (32.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 164ms (Views: 159.7ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-01-27 22:20:30 +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.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/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (28.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 165ms (Views: 160.9ms | ActiveRecord: 0.8ms) Started GET "/dorsale/billing_machine/invoices/1/copy" for ::1 at 2016-01-27 22:20:33 +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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::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.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]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (30.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (35.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 178ms (Views: 169.6ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/1/copy" for ::1 at 2016-01-27 22:21:39 +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.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::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/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (44.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 184ms (Views: 177.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:21:39 +0100 Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-01-27 22:21:40 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (6.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (6.8ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::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]] CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (6.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (41.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 184ms (Views: 178.7ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:21:41 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) 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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.3ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (10.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (37.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 191ms (Views: 187.0ms | ActiveRecord: 1.0ms) Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:21:46 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (9.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (34.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (45.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 172ms (Views: 167.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:21:46 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:21:47 +0100 Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:22:58 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (2.1ms) Rendered /Users/benoit/Sources/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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (9.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (35.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 186ms (Views: 181.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:22:58 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:22:59 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:22:59 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:22:59 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:22:59 +0100 Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:23:13 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (9.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (33.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (44.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 177ms (Views: 173.1ms | ActiveRecord: 0.9ms) Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:23:14 +0100 Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:24:39 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.1ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (8.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (31.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (42.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 167ms (Views: 162.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:24:40 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:24:40 +0100 Started POST "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:24:43 +0100 ActionController::RoutingError (No route matches [POST] "/dorsale/billing_machine/quotations/2"): 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/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/benoit/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/benoit/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (131.8ms) Started GET "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:28:19 +0100 Processing by Dorsale::BillingMachine::QuotationsController#show as HTML Parameters: {"id"=>"2"} Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."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", 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.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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.1ms) 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/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.2ms) Dorsale::Alexandrie::Attachment Load (0.1ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 2 Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (0.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (9.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (32.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (43.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 170ms (Views: 165.2ms | ActiveRecord: 1.1ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:28:19 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:28:19 +0100 Started DELETE "/dorsale/billing_machine/quotations/2" for ::1 at 2016-01-27 22:28:23 +0100 Processing by Dorsale::BillingMachine::QuotationsController#destroy as HTML Parameters: {"authenticity_token"=>"209wgwy+iMvmXbOSHDQhT4aZg5Gdte2GdmQ4lMQWV8ff82RbEAN2L99BSCnN08lzvsoZD4yNNYAQSwQJ0Im2QQ==", "id"=>"2"} Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction 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", 2]] SQL (0.3ms) DELETE FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["id", 3]] SQL (0.0ms) DELETE FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["id", 4]] Dorsale::Alexandrie::Attachment Load (0.0ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_id" = ? AND "dorsale_alexandrie_attachments"."attachable_type" = ? [["attachable_id", 2], ["attachable_type", "Dorsale::BillingMachine::Quotation"]] SQL (0.1ms) DELETE FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? [["id", 2]]  (6.7ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/quotations Completed 302 Found in 16ms (ActiveRecord: 7.8ms) Started GET "/dorsale/billing_machine/quotations" for ::1 at 2016-01-27 22:28:24 +0100 Processing by Dorsale::BillingMachine::QuotationsController#index as HTML Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (6.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_header_infos.html.slim (5.7ms) Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::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/Sources/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (3.7ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (34.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 182ms (Views: 177.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 22:28:24 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 22:28:24 +0100  (5.8ms) 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) 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.1ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (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)  (0.9ms) 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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.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'  (1.0ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (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) 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)   (0.9ms) 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)  (0.9ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.4ms)  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.2ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) 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.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) 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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)   (0.7ms) 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.0ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (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.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)   (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDorsaleAddresses (20141010140200)  (0.1ms) begin transaction  (0.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)  SQLite3::SQLException: table "dorsale_addresses" already exists: 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)  (0.0ms) rollback transaction  (1.3ms) 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) 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.0ms) 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.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.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (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)   (0.8ms) 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.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'  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.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)  (0.9ms) 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)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (3.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)   (0.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'   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.7ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (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) 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)   (0.8ms) 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)  (0.8ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) 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'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (0.8ms) 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.7ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (0.7ms) 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)  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.0ms) 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)  (0.7ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (0.9ms) 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'   (0.8ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.1ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.0ms) 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)   (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')  (0.9ms) 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)  (0.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.0ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) 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(*)  (0.7ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) 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)  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.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.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_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) 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)  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (0.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'  (0.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'   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (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)   (0.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)  (0.9ms) 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)   (0.8ms) 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.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.9ms) 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.0ms) 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.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)   (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (0.9ms) 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)   (0.8ms) 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.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (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)   (0.9ms) 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.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.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.0ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (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)  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334') 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.7ms) 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.6ms) 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.7ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (0.8ms) 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.7ms) 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';  (0.8ms) 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';  (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.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.7ms) 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  (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-01-27 22:02:20.718052"], ["updated_at", "2016-01-27 22:02:20.718052"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", "2016-01-27 22:02:20.724223"], ["updated_at", "2016-01-27 22:02:20.724223"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) 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-01-27 22:02:20.780306"], ["updated_at", "2016-01-27 22:02:20.780306"]] 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-01-27 22:02:20.781911"], ["updated_at", "2016-01-27 22:02:20.781911"]] 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.1ms) 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-01-27 22:02:20.902922"]] 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-02-26"], ["date", "2016-01-27"], ["total_including_taxes", 53.76], ["balance", 53.76], ["created_at", "2016-01-27 22:02:20.953405"], ["updated_at", "2016-01-27 22:02:20.953405"], ["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-01-27 22:02:20.956384"], ["updated_at", "2016-01-27 22:02:20.956384"]] Dorsale::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]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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-01-27 22:02:20.966407"], ["updated_at", "2016-01-27 22:02:20.966407"]] 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-01-27 22:02:20.967906"], ["updated_at", "2016-01-27 22:02:20.967906"]] 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.0ms) 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.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-01-27 22:02:20.973919"]] 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-01-27 22:02:20.977442"]] 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.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-01-27 22:02:20.994866"], ["updated_at", "2016-01-27 22:02:20.994866"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.3ms) 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-01-27"], ["expires_at", "2016-02-27"], ["commercial_discount", 0.0], ["vat_amount", 3300.0], ["total_excluding_taxes", 16500.0], ["total_including_taxes", 19800.0], ["created_at", "2016-01-27 22:02:21.021543"], ["updated_at", "2016-01-27 22:02:21.021543"], ["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-01-27 22:02:21.023931"], ["updated_at", "2016-01-27 22:02:21.023931"]] Dorsale::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-01-27 22:02:21.028068"], ["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-01-27 22:02:21.030255"], ["updated_at", "2016-01-27 22:02:21.030255"]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.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-01-27 22:02:21.033957"], ["id", 1]]  (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", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", "2016-01-27 22:02:21.049760"], ["updated_at", "2016-01-27 22:02:21.049760"]] 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-01-27 22:02:21.051450"], ["updated_at", "2016-01-27 22:02:21.051450"]] 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-01-27 22:02:21.057231"]] 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-01-27 22:02:21.060672"]] 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]]  (0.9ms) 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-01-27 22:02:21.067921"], ["updated_at", "2016-01-27 22:02:21.067921"]] 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-01-27 22:02:21.069573"], ["updated_at", "2016-01-27 22:02:21.069573"]] ActsAsTaggableOn::Tag Load (2.9ms) 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.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.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::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-01-27 22:02:21.080312"]] ActsAsTaggableOn::Tag Load (0.1ms) 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-01-27 22:02:21.083562"]] 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-01-27 22:02:21.086600"]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 7]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (1.2ms) 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-01-27 22:02:21.096722"], ["updated_at", "2016-01-27 22:02:21.096722"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-01-27') SQL (0.4ms) 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-01-27 22:02:21.107468"], ["updated_at", "2016-01-27 22:02:21.107468"], ["tracking", "160127-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.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-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 22:02:21.122927"], ["updated_at", "2016-01-27 22:02:21.122927"]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", "2016-01-27 22:02:21.126556"], ["id", 1]]  (1.0ms) 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-01-27 22:02:21.138520"], ["created_at", "2016-01-27 22:02:21.140846"], ["updated_at", "2016-01-27 22:02:21.140846"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-01-27 22:02:21.142469"], ["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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", "2016-01-27 22:02:21.145013"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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.2ms) 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-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 22:02:21.149040"], ["updated_at", "2016-01-27 22:02:21.149040"]]  (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.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.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", "2016-01-27 22:02:21.152058"], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) 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-03"], ["term", "2016-02-26"], ["progress", 0], ["created_at", "2016-01-27 22:02:21.155313"], ["updated_at", "2016-01-27 22:02:21.155313"]]  (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.3ms) 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-01-27 22:02:21.158845"], ["created_at", "2016-01-27 22:02:21.161021"], ["updated_at", "2016-01-27 22:02:21.161021"]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", "2016-01-27 22:02:21.162540"], ["id", 3]]  (0.7ms) commit transaction  (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)   (0.9ms) 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)  (0.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)   (0.9ms) 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.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (0.9ms) 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)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (0.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.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.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (0.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)  (0.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)   (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (0.9ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)   (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (0.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'  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (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)  (0.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)   (0.9ms) 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)  (0.8ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.8ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (0.8ms) 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.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.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (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)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.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)  (0.8ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (0.9ms) 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'   (0.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (1.1ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)   (0.9ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (0.9ms) 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)   (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334') Started GET "/" for ::1 at 2016-01-27 23:06:10 +0100 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Rendered home/home.html.slim within layouts/application (40.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.7ms) Completed 200 OK in 654ms (Views: 643.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:06:10 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:06:10 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:06:11 +0100 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-01-27 23:06:13 +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-01-27 23:06:13 +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/Sources/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1073.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (4.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (14.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.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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (42.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (51.3ms) Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (6.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (11.4ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (1206.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.5ms) Completed 200 OK in 1383ms (Views: 1348.3ms | ActiveRecord: 2.1ms) Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:06:15 +0100 Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-01-27 23:06:17 +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.2ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (1.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (5.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (7.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", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (44.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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_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", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (9.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::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (7.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (153.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 315ms (Views: 296.7ms | ActiveRecord: 1.4ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-01-27 23:06:19 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} 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/Sources/dorsale/app/views/dorsale/_actions.html.slim (6.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", 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/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (34.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (43.5ms) Dorsale::Flyboy::Task Load (0.4ms) 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.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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (22.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (91.0ms) Dorsale::Comment Load (0.2ms) 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 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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (15.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (119.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (130.4ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (8.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/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (11.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (35.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (51.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (305.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (315.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 469ms (Views: 458.7ms | ActiveRecord: 2.2ms) Started GET "/dorsale/customer_vault/individuals/2/links/new" for ::1 at 2016-01-27 23:06:23 +0100 Processing by Dorsale::CustomerVault::LinksController#new as HTML Parameters: {"individual_id"=>"2"} ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC 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]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (1.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", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (14.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (22.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/new.html.slim within layouts/application (49.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 227ms (Views: 200.8ms | ActiveRecord: 1.1ms) Started POST "/dorsale/customer_vault/individuals/2/links?id=2" for ::1 at 2016-01-27 23:06:29 +0100 Processing by Dorsale::CustomerVault::LinksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ojaXdZpOkrAN3VzQ3uisWOsqsB+PNFkoD5PJbnMZWWemioOthvNsVDTBp2sPD0Rk03kqgZ4MgS5pvPXzZ4a44Q==", "link"=>{"bob"=>"Dorsale::CustomerVault::Corporation-2", "title"=>"Gérant"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/2/links/new", "id"=>"2", "individual_id"=>"2"} ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC 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]]  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "dorsale_customer_vault_links" ("title", "alice_id", "alice_type", "bob_id", "bob_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["title", "Gérant"], ["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"], ["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2016-01-27 22:06:29.189160"], ["updated_at", "2016-01-27 22:06:29.189160"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/2#links Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-01-27 23:06:29 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} 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/Sources/dorsale/app/views/dorsale/_actions.html.slim (7.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", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (21.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (30.3ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 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::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (12.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (9.2ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC 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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (10.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (17.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (41.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (47.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_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["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/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (6.6ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (19.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (34.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.3ms) 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/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (19.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (36.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (43.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (6.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (213.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (220.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (1.2ms) Completed 200 OK in 362ms (Views: 358.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:06:29 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:06:30 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:06:30 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:06:30 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:06:30 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:07:19 +0100 Started GET "/dorsale/customer_vault/individuals/2/links/new" for ::1 at 2016-01-27 23:10:44 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::CustomerVault::LinksController#new as HTML Parameters: {"individual_id"=>"2"} ActsAsTaggableOn::Tag Load (0.9ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (1143.8ms) ActsAsTaggableOn::Tag Load (0.8ms) 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.5ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (1212.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (1221.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (4.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/new.html.slim within layouts/application (1357.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (2.8ms) Completed 200 OK in 1962ms (Views: 1882.2ms | ActiveRecord: 5.2ms) Started POST "/dorsale/customer_vault/individuals/2/links?id=2" for ::1 at 2016-01-27 23:10:51 +0100 Processing by Dorsale::CustomerVault::LinksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"C/1xkDdRHcIUe8Nh7zTNaabAYlt7XiUtnUsDX5UB/jIPQWVIK+zjJi1nONo+0yVVnpP4xWpm/Sv7ZD/CgZ4ftA==", "link"=>{"bob"=>"Dorsale::CustomerVault::Individual-2", "title"=>"jnj"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/individuals/2/links/new", "id"=>"2", "individual_id"=>"2"} ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC 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]]  (0.1ms) begin transaction SQL (1.8ms) INSERT INTO "dorsale_customer_vault_links" ("title", "alice_id", "alice_type", "bob_id", "bob_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["title", "jnj"], ["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"], ["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-01-27 22:10:51.481207"], ["updated_at", "2016-01-27 22:10:51.481207"]]  (0.6ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/2#links Completed 302 Found in 9ms (ActiveRecord: 2.8ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-01-27 23:10:51 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} 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/Sources/dorsale/app/views/dorsale/_actions.html.slim (17.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.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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (36.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (44.1ms) Dorsale::Flyboy::Task Load (0.5ms) 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::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] 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]] 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]] 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (32.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (27.3ms) Dorsale::Comment Load (0.6ms) 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 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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (19.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (30.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (70.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (81.4ms) 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_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["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]] 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/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (4.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", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (18.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.2ms) CACHE (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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (14.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.1ms) CACHE (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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (63.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.7ms) 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/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (10.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (28.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (49.9ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (5.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (313.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (328.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (3.4ms) Completed 200 OK in 465ms (Views: 458.1ms | ActiveRecord: 4.0ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:10:52 +0100 Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-01-27 23:11:50 +0100 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} 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/Sources/dorsale/app/views/dorsale/_actions.html.slim (0.6ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (9.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (13.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::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["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]] 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (6.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (3.4ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC 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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (10.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (21.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (24.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_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["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]] 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/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.1ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (8.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.0ms) CACHE (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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (7.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.0ms) CACHE (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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (40.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.3ms) 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/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (2.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (12.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (17.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (128.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (132.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 785ms (Views: 781.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:11:51 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:11:51 +0100 Started DELETE "/dorsale/customer_vault/corporations/2/links/2" for ::1 at 2016-01-27 23:11:55 +0100 Processing by Dorsale::CustomerVault::LinksController#destroy as HTML Parameters: {"authenticity_token"=>"gba3Ojsg4kEwaG/kim5YGnsjNyivUawny5gVSEuNZbqFCqPiJ50cpQl0lF9bibAmQ3Cttr5pdCGttynVXxKEPA==", "corporation_id"=>"2", "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", 2]] Dorsale::CustomerVault::Link Load (0.2ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."id" = ? [["id", 2]]  (4.9ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/corporations/2#links Completed 302 Found in 11ms (ActiveRecord: 5.6ms) Started GET "/dorsale/customer_vault/corporations/2" for ::1 at 2016-01-27 23:11:55 +0100 Processing by Dorsale::CustomerVault::CorporationsController#show as HTML Parameters: {"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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (0.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"]] 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"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_context.html.slim (16.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (20.3ms) Dorsale::Flyboy::Task Load (0.4ms) 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::Corporation"], ["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::Corporation' [["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::Corporation' [["bob_id", 2]] 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (16.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (3.0ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Corporation' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (11.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (21.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (24.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::Corporation' [["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::Corporation' [["bob_id", 2]] 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/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.4ms) 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"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (10.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (18.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.1ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Corporation' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (5.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (14.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (18.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (124.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/show.html.slim within layouts/application (131.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.6ms) Completed 200 OK in 259ms (Views: 254.4ms | ActiveRecord: 2.3ms) Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:11:56 +0100 Started GET "/dorsale/customer_vault/corporations/2/links/new" for ::1 at 2016-01-27 23:12:01 +0100 Processing by Dorsale::CustomerVault::LinksController#new as HTML Parameters: {"corporation_id"=>"2"} ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Dorsale::CustomerVault::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" Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (0.7ms) 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"]] 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"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_context.html.slim (15.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (20.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/new.html.slim within layouts/application (36.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 174ms (Views: 169.5ms | ActiveRecord: 0.8ms) Started POST "/dorsale/customer_vault/corporations/2/links?id=2" for ::1 at 2016-01-27 23:12:04 +0100 Processing by Dorsale::CustomerVault::LinksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"P5LoPcy72sg9STttUG5rlYRSIecOovZWTZN6nS8or6g7Lvzl0AYkLARVwNaBiYOpvAG7eR+aLlArvEYAO7dOLg==", "link"=>{"bob"=>"Dorsale::CustomerVault::Individual-1", "title"=>"qdfqsdf"}, "back_url"=>"http://localhost:3000/dorsale/customer_vault/corporations/2/links/new", "id"=>"2", "corporation_id"=>"2"} ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Dorsale::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]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_links" ("title", "alice_id", "alice_type", "bob_id", "bob_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["title", "qdfqsdf"], ["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Corporation"], ["bob_id", 1], ["bob_type", "Dorsale::CustomerVault::Individual"], ["created_at", "2016-01-27 22:12:04.828314"], ["updated_at", "2016-01-27 22:12:04.828314"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/corporations/2#links Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/dorsale/customer_vault/corporations/2" for ::1 at 2016-01-27 23:12:04 +0100 Processing by Dorsale::CustomerVault::CorporationsController#show as HTML Parameters: {"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", 2]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_actions.html.slim (0.8ms) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] 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"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/_context.html.slim (9.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (13.3ms) Dorsale::Flyboy::Task Load (0.1ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["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::Corporation' [["alice_id", 2]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] 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::Corporation' [["bob_id", 2]] 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/Sources/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (7.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_form.html.slim (2.9ms) Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Corporation' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC Dorsale::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/Sources/dorsale/app/views/dorsale/comments/_comment.html.slim (5.2ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_list.html.slim (10.1ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/comments/_comments.html.slim (20.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (23.5ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Corporation' [["alice_id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Corporation' [["bob_id", 2]] 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/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (1.1ms) 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/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/links/_title.html.slim (0.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::Individual"]] Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.0ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (29.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.2ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Corporation' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (4.7ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (13.6ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (20.3ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (117.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/customer_vault/corporations/show.html.slim within layouts/application (121.8ms) Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 250ms (Views: 245.5ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/application.self.css?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/application.self.js?body=1" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/dorsale/avatar.png" for ::1 at 2016-01-27 23:12:05 +0100 Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-01-27 23:12:05 +0100