Started GET "/" for ::1 at 2016-06-09 09:14:52 +0200 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-06-09 09:14:54 +0200 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/devise-i18n-1.0.1/app/views/devise/shared/_links.html.erb (2.3ms) Rendered devise/sessions/new.html.erb within layouts/application (63.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.0ms) Completed 200 OK in 5455ms (Views: 5438.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.self-6ea8ff46049d4be6cb332a884ebdb71c4c60b1c051e6b237f1fd1460e1b7fbbb.css?body=1" for ::1 at 2016-06-09 09:14:59 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-06-09 09:14:59 +0200 Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/selectize.self-3effb6f6de816db1f8f925a7be3a1677dcf689b82a2a471d2b6095b87e8872ec.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/modals.self-630c6275fbd1b4dbc64f13c078b68d741126d3649eb72914dc360bae85cbff65.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:15:00 +0200 Started POST "/users/sign_in" for ::1 at 2016-06-09 09:15:02 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zqzdw6o0RUOTiTGEEE0UUV77f1BCu47pA1dZSuLpSqC+Yk+GEhBjH+ZYKNdG5rep07Ft82FEF60xasCtGJydw==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-05-18 17:40:56.637710"], ["current_sign_in_at", "2016-06-09 07:15:02.800548"], ["sign_in_count", 7], ["updated_at", "2016-06-09 07:15:02.801829"], ["id", 1]]  (0.9ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 179ms (ActiveRecord: 3.1ms) Started GET "/" for ::1 at 2016-06-09 09:15:02 +0200 Processing by HomeController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (4.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.4ms) Completed 200 OK in 219ms (Views: 216.4ms | ActiveRecord: 0.4ms) Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-06-09 09:15:03 +0200 Started GET "/dorsale/flyboy/folders" for ::1 at 2016-06-09 09:15:05 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (89.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (6.1ms) Dorsale::Flyboy::Folder Load (1.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT 50 OFFSET 0  (0.8ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term < '2016-06-09') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (57.9ms)  (0.5ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (206.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 352ms (Views: 319.4ms | ActiveRecord: 3.3ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-06-09 09:15:07 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-06-09 09:15:07 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (9.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 Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT 50 OFFSET 0 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (35.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (45.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (22.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (29.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (13.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (21.5ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (171.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) Completed 200 OK in 348ms (Views: 315.5ms | ActiveRecord: 4.1ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-06-09 09:15:09 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (8.0ms) ActsAsTaggableOn::Tag Load (1.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", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (82.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (92.7ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", "f"]] Dorsale::CustomerVault::Link Load (0.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", 2]] 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", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (18.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (13.5ms) 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 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (11.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (8.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (38.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (67.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (76.6ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (8.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (3.0ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (29.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (44.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (300.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (312.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 418ms (Views: 405.2ms | ActiveRecord: 5.1ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-06-09 09:15:36 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (5.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/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (21.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (31.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::Link Load (0.1ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (12.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (8.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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (15.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (39.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (60.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (67.5ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = 'Dorsale::CustomerVault::Individual' [["alice_id", 2]] CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/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" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (11.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (33.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (3.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (199.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (206.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4412ms (Views: 4407.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.self-f15380dc500736ee3310e2881432db867efba80f3dc0ef13b7572dbd0209a637.css?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/selectize.self-3effb6f6de816db1f8f925a7be3a1677dcf689b82a2a471d2b6095b87e8872ec.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/modals.self-630c6275fbd1b4dbc64f13c078b68d741126d3649eb72914dc360bae85cbff65.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-06-09 09:15:41 +0200 Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-06-09 09:15:45 +0200 Processing by Dorsale::Flyboy::TasksController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (1.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (8.7ms) 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.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (31.5ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (75.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 183ms (Views: 178.2ms | ActiveRecord: 0.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-06-09 09:15:46 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (12.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (17.2ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (12.3ms)  (0.7ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (73.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 202ms (Views: 170.0ms | ActiveRecord: 2.7ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-06-09 09:15:48 +0200 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (5.7ms) Dorsale::BillingMachine::PaymentTerm Load (0.6ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (77.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 218ms (Views: 167.0ms | ActiveRecord: 2.4ms) Started GET "/" for ::1 at 2016-06-09 09:15:51 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (3.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 133ms (Views: 131.0ms | ActiveRecord: 0.1ms) Started GET "/" for ::1 at 2016-06-09 09:18:15 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.1ms) Completed 500 Internal Server Error in 1417ms (ActiveRecord: 0.1ms) ActionView::Template::Error (Undefined variable: "$font-color-base".): 4: meta charset="utf-8" 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: app/assets/stylesheets/application.sass:3 app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__530212040717801414_70121939727040' Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.4ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (100.5ms) Started GET "/" for ::1 at 2016-06-09 09:18:40 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.1ms) Completed 500 Internal Server Error in 1595ms (ActiveRecord: 0.2ms) ActionView::Template::Error (Undefined variable: "$font-color".): 4: meta charset="utf-8" 5: meta name="viewport" content="width=device-width, initial-scale=1.0" 6: title = "Dorsale Dummy" 7: = stylesheet_link_tag "application", media: "all" 8: = javascript_include_tag "application" 9: = csrf_meta_tags 10: app/assets/stylesheets/application.sass:3 app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim__530212040717801414_70121939727040' Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.2ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.6ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (89.0ms) Started GET "/" for ::1 at 2016-06-09 09:19:04 +0200 Processing by HomeController#home as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (0.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 4438ms (Views: 4436.8ms | ActiveRecord: 0.1ms) Started GET "/assets/application.self-f0a3ee9b59e43ea7acb059c5b574b39c80aecef53dee157d457927b75c7424ae.css?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/selectize.self-3effb6f6de816db1f8f925a7be3a1677dcf689b82a2a471d2b6095b87e8872ec.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/modals.self-630c6275fbd1b4dbc64f13c078b68d741126d3649eb72914dc360bae85cbff65.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-06-09 09:19:09 +0200 Started GET "/" for ::1 at 2016-06-27 17:42:42 +0200 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Completed 401 Unauthorized in 26ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-06-27 17:42:44 +0200 Processing by Devise::SessionsController#new as HTML Rendered /Users/benoit/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/devise-i18n-1.0.1/app/views/devise/shared/_links.html.erb (2.4ms) Rendered devise/sessions/new.html.erb within layouts/application (66.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.8ms) Completed 200 OK in 6204ms (Views: 6183.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.self-99e2eb183c24df104c0ac98249472a168f01e3a62c6f84e5f271f48f1714c962.css?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/selectize.self-3effb6f6de816db1f8f925a7be3a1677dcf689b82a2a471d2b6095b87e8872ec.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-06-27 17:42:50 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-06-27 17:42:51 +0200 Started POST "/users/sign_in" for ::1 at 2016-06-27 17:42:53 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pJmSFMnRc4AXvoN8XifVpWz8abrC5aYydkLba/RtZZ4Ul/WVFRIYB3ngt7LEjpPQiG7CkeHt/cslnvozs60WEg==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "demo@agilidee.com"]]  (0.1ms) begin transaction SQL (12.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-06-09 07:15:02.800548"], ["current_sign_in_at", "2016-06-27 15:42:53.451913"], ["sign_in_count", 8], ["updated_at", "2016-06-27 15:42:53.454277"], ["id", 1]]  (1.7ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 229ms (ActiveRecord: 15.8ms) Started GET "/" for ::1 at 2016-06-27 17:42:53 +0200 Processing by HomeController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Rendered home/home.html.slim within layouts/application (2.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) Completed 200 OK in 135ms (Views: 132.2ms | ActiveRecord: 0.3ms) Started GET "/dorsale/users" for ::1 at 2016-06-27 17:43:03 +0200 Processing by Dorsale::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/_list.html.slim (16.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/users/index.html.slim within layouts/application (29.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 168ms (Views: 153.8ms | ActiveRecord: 0.4ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-06-27 17:43:04 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.7ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (99.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (24.8ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (39.1ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (196.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 482ms (Views: 416.8ms | ActiveRecord: 4.3ms) Started GET "/dorsale/billing_machine/invoices/new" for ::1 at 2016-06-27 17:43:07 +0200 Processing by Dorsale::BillingMachine::InvoicesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.8ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (77.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (87.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 236ms (Views: 173.6ms | ActiveRecord: 2.7ms) Started POST "/dorsale/billing_machine/invoices" for ::1 at 2016-06-27 17:43:16 +0200 Processing by Dorsale::BillingMachine::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IKjin9gw6dYu8240rIOX1aJ4ArXF/j9bifuoTt7nn0XVnB3S2Vze2nq8/9wo1htnf9q+rcBpYKZGx6VflkXGaA==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"27/06/2016", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"aaaa", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1 300,00"}}, "payment_term_id"=>"", "due_date"=>"27/07/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/new"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"  (0.1ms) begin transaction Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (3.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "comments", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", ""], ["paid", "f"], ["date", "2016-06-27"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-07-27"], ["comments", ""], ["vat_amount", 0.2], ["total_excluding_taxes", 1.0], ["total_including_taxes", 1.2], ["balance", 1.2], ["created_at", "2016-06-27 15:43:16.418060"], ["updated_at", "2016-06-27 15:43:16.418060"], ["unique_index", 2], ["tracking_id", "2016-02"]] SQL (1.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "aaaa"], ["quantity", 1.0], ["unit", ""], ["unit_price", 1.0], ["vat_rate", 20.0], ["total", 1.0], ["invoice_id", 2], ["created_at", "2016-06-27 15:43:16.423743"], ["updated_at", "2016-06-27 15:43:16.423743"]] Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (1.2ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 30ms (ActiveRecord: 6.9ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-06-27 17:43:16 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (4.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (5.2ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.5ms) Completed 200 OK in 133ms (Views: 126.7ms | ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices/2" for ::1 at 2016-06-27 17:43:18 +0200 Processing by Dorsale::BillingMachine::InvoicesController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (14.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (57.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) Completed 200 OK in 160ms (Views: 152.9ms | ActiveRecord: 0.6ms) Started GET "/dorsale/billing_machine/invoices/2/edit" for ::1 at 2016-06-27 17:51:21 +0200 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 2]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.3ms) Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (1366.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (1392.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.1ms) Completed 200 OK in 2123ms (Views: 1985.9ms | ActiveRecord: 4.8ms) Started PATCH "/dorsale/billing_machine/invoices/2" for ::1 at 2016-06-27 17:51:30 +0200 Processing by Dorsale::BillingMachine::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DRQQV/Wqn8POMOdd0wELJDjfCXhGzBgz0txOuXGZdeb4IO8a9Maoz5p/drVXVIeW5X21YENbR84d4EOoOTssyw==", "invoice"=>{"id_card_id"=>"1", "label"=>"", "date"=>"27/06/2016", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"aaaa", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"1 300,00", "id"=>"2"}}, "payment_term_id"=>"", "due_date"=>"27/07/2016", "paid"=>"false", "comments"=>"", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/invoices/2/edit", "id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? AND "dorsale_billing_machine_invoice_lines"."id" = 2 ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) UPDATE "dorsale_billing_machine_invoices" SET "commercial_discount" = ?, "advance" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["commercial_discount", 0.0], ["advance", 0.0], ["total_excluding_taxes", 1300.0], ["vat_amount", 260.0], ["total_including_taxes", 1560.0], ["balance", 1560.0], ["updated_at", "2016-06-27 15:51:31.022357"], ["id", 2]] SQL (0.3ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 1.0], ["unit_price", 1300.0], ["vat_rate", 20.0], ["total", 1300.0], ["updated_at", "2016-06-27 15:51:31.025195"], ["id", 2]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]] Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]  (2.6ms) commit transaction Redirected to http://localhost:3000/dorsale/billing_machine/invoices Completed 302 Found in 30ms (ActiveRecord: 4.5ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-06-27 17:51:31 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (14.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (21.2ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (26.0ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (96.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.8ms) Completed 200 OK in 273ms (Views: 249.6ms | ActiveRecord: 1.5ms) DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/benoit/www/agilidee/dorsale/spec/dummy/config/environment.rb:5) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open.  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddMissingIndexes (20160701204830)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddMissingIndexes < ActiveRecord::Migration[4.2] (called from load at /Users/benoit/.rbenv/versions/2.3.1/bin/rake:23)  (0.1ms) select sqlite_version(*)  (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.8ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160701204830"]]  (1.1ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-07-01 20:48:46 UTC], ["updated_at", 2016-07-01 20:48:46 UTC]]  (0.8ms) 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.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.3ms)  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.4ms)  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_expense_gun_expense_lines_on_expense_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_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='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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'  DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/benoit/www/agilidee/dorsale/spec/dummy/config/environment.rb:5) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Started GET "/" for ::1 at 2016-07-01 22:51:24 +0200 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-07-01 22:51:25 +0200 Processing by Devise::SessionsController#new as HTML Rendering devise/sessions/new.html.erb within layouts/application Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-i18n-1.1.0/app/views/devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (38.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.4ms) Completed 200 OK in 7035ms (Views: 7017.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-01 22:51:32 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-01 22:51:32 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 22:51:33 +0200 Started POST "/users/sign_in" for ::1 at 2016-07-01 22:51:35 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rhXkDJ23LxLgnRtEPBFEHgnD9XSjgUd3rGrH7SQKWdWarPDUoZOX4EQW9NupsEPX4G4VniaYuJQtYrdvpdu5xQ==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]]  (0.2ms) begin transaction SQL (1.8ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 9], ["current_sign_in_at", 2016-07-01 20:51:35 UTC], ["last_sign_in_at", 2016-06-27 15:42:53 UTC], ["updated_at", 2016-07-01 20:51:35 UTC], ["id", 1]]  (2.9ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 201ms (ActiveRecord: 7.3ms) Started GET "/" for ::1 at 2016-07-01 22:51:35 +0200 Processing by HomeController#home as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (2.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 104ms (Views: 97.8ms | ActiveRecord: 0.8ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-01 22:51:38 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:4) Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-01 22:51:38 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (12.5ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] 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 ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (26.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (33.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (12.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (10.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (122.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.9ms) Completed 200 OK in 423ms (Views: 213.6ms | ActiveRecord: 4.6ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-01 22:51:41 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (0.8ms) 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (12.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (6.1ms) ActsAsTaggableOn::Tagging Load (0.6ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (40.8ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.6ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (13.0ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (140.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.5ms) Completed 200 OK in 256ms (Views: 221.1ms | ActiveRecord: 5.5ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 22:51:49 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (5.3ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT ? [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (36.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (44.1ms) Dorsale::Flyboy::Task Load (0.6ms) 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", false]] DEPRECATION WARNING: Passing a class as a value in an Active Record query is deprecated and will be removed. Pass a string instead. (called from links at /Users/benoit/www/agilidee/dorsale/app/models/dorsale/customer_vault/person.rb:24) Dorsale::CustomerVault::Link Load (0.6ms) 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]] DEPRECATION WARNING: Passing a class as a value in an Active Record query is deprecated and will be removed. Pass a string instead. (called from links at /Users/benoit/www/agilidee/dorsale/app/models/dorsale/customer_vault/person.rb:25) Dorsale::CustomerVault::Link Load (0.6ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (21.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (69.8ms) Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (12.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (5.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (32.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (114.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (123.5ms) DEPRECATION WARNING: Passing a class as a value in an Active Record query is deprecated and will be removed. Pass a string instead. (called from links at /Users/benoit/www/agilidee/dorsale/app/models/dorsale/customer_vault/person.rb:24) 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]] DEPRECATION WARNING: Passing a class as a value in an Active Record query is deprecated and will be removed. Pass a string instead. (called from links at /Users/benoit/www/agilidee/dorsale/app/models/dorsale/customer_vault/person.rb:25) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = 'Dorsale::CustomerVault::Individual' [["bob_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (12.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (30.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (43.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (273.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (281.3ms) Completed 500 Internal Server Error in 303ms (ActiveRecord: 5.2ms) ActionView::Template::Error (Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.): 5: th.hidden-xs 6: = sortable_column Dorsale::Flyboy::Task.t(:taskable), column: "taskable" 7: th 8: = sortable_column Dorsale::Flyboy::Task.t, column: "name" 9: th.hidden-xs 10: = sortable_column Dorsale::Flyboy::Task.t(:progress), column: "progress" 11: th.hidden-xs actionpack (5.0.0) lib/action_dispatch/routing/url_for.rb:176:in `url_for' actionview (5.0.0) lib/action_view/routing_url_for.rb:96:in `url_for' actionview (5.0.0) lib/action_view/helpers/url_helper.rb:196:in `link_to' bh (1.3.6) lib/bh/helpers/link_to_helper.rb:44:in `link_to' handles_sortable_columns (0.1.4) lib/handles/sortable_columns.rb:226:in `sortable_column' actionpack (5.0.0) lib/abstract_controller/helpers.rb:68:in `sortable_column' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__list_html_slim___363995803905395840_70236404828180' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim:3:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__tasks_for_taskable_html_slim___1112896499120563873_70236404506100' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/flyboy/application_helper.rb:25:in `tasks_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__tasks_tab_html_slim___23562910512924711_70236365486280' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:26:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236390910000' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `block in capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:153:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:6:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236390910000' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_individuals_show_html_slim__120351531199581348_70236390996500' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template' actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body' actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' railties (5.0.0) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' warden (1.2.6) lib/warden/manager.rb:35:in `block in call' warden (1.2.6) lib/warden/manager.rb:34:in `catch' warden (1.2.6) lib/warden/manager.rb:34:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0) lib/rails/rack/logger.rb:24:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (9.0ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (107.7ms) Started GET "/" for ::1 at 2016-07-01 22:52:31 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (4.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 116ms (Views: 109.4ms | ActiveRecord: 0.2ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-01 23:19:27 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:4) Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 41ms (ActiveRecord: 3.0ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-01 23:19:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (15.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (17.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (51.5ms)  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] Dorsale::Comment Load (0.4ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (49.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (66.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (10.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (15.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (14.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (324.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 792ms (Views: 466.1ms | ActiveRecord: 7.7ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-01 23:19:30 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" ActsAsTaggableOn::Tag Load (0.3ms) 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (14.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.1ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (13.6ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.8ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (17.4ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (8.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (130.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 288ms (Views: 246.9ms | ActiveRecord: 3.5ms) Started GET "/dorsale/customer_vault/individuals/new" for ::1 at 2016-07-01 23:19:33 +0200 Processing by Dorsale::CustomerVault::IndividualsController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_form.html.slim (42.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (3.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/new.html.slim within layouts/application (61.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 193ms (Views: 162.7ms | ActiveRecord: 2.2ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 23:19:38 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (8.2ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.3ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT ? [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (29.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (42.4ms) Dorsale::Flyboy::Task Load (0.3ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", false]] Dorsale::CustomerVault::Link Load (0.3ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] Dorsale::CustomerVault::Link Load (0.3ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."bob_id" = ? AND "dorsale_customer_vault_links"."bob_type" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (31.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (16.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 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (13.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (33.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (65.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (78.0ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] 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" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (32.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (45.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (246.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (260.8ms) Completed 500 Internal Server Error in 298ms (ActiveRecord: 4.1ms) ActionView::Template::Error (Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.): 5: th.hidden-xs 6: = sortable_column Dorsale::Flyboy::Task.t(:taskable), column: "taskable" 7: th 8: = sortable_column Dorsale::Flyboy::Task.t, column: "name" 9: th.hidden-xs 10: = sortable_column Dorsale::Flyboy::Task.t(:progress), column: "progress" 11: th.hidden-xs actionpack (5.0.0) lib/action_dispatch/routing/url_for.rb:176:in `url_for' actionview (5.0.0) lib/action_view/routing_url_for.rb:96:in `url_for' actionview (5.0.0) lib/action_view/helpers/url_helper.rb:196:in `link_to' bh (1.3.6) lib/bh/helpers/link_to_helper.rb:44:in `link_to' handles_sortable_columns (0.1.4) lib/handles/sortable_columns.rb:226:in `sortable_column' actionpack (5.0.0) lib/abstract_controller/helpers.rb:68:in `sortable_column' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__list_html_slim___363995803905395840_70236410093360' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim:3:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__tasks_for_taskable_html_slim___1112896499120563873_70236371300360' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/flyboy/application_helper.rb:25:in `tasks_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__tasks_tab_html_slim___23562910512924711_70236409860700' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:26:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236389837900' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `block in capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:153:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:6:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236389837900' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_individuals_show_html_slim__120351531199581348_70236390054100' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template' actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body' actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' railties (5.0.0) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' warden (1.2.6) lib/warden/manager.rb:35:in `block in call' warden (1.2.6) lib/warden/manager.rb:34:in `catch' warden (1.2.6) lib/warden/manager.rb:34:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0) lib/rails/rack/logger.rb:24:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (10.7ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (105.8ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 23:19:42 +0200 Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (6.5ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT ? [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (23.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (31.8ms) Dorsale::Flyboy::Task Load (0.2ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? AND "dorsale_flyboy_tasks"."done" = ? [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Individual"], ["done", false]] 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" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] 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" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (11.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (7.6ms) 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 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (13.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (35.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (56.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (64.6ms) CACHE (0.0ms) SELECT "dorsale_customer_vault_links".* FROM "dorsale_customer_vault_links" WHERE "dorsale_customer_vault_links"."alice_id" = ? AND "dorsale_customer_vault_links"."alice_type" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] 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" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (13.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (33.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (42.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (188.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (197.1ms) Completed 500 Internal Server Error in 214ms (ActiveRecord: 2.3ms) ActionView::Template::Error (Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.): 5: th.hidden-xs 6: = sortable_column Dorsale::Flyboy::Task.t(:taskable), column: "taskable" 7: th 8: = sortable_column Dorsale::Flyboy::Task.t, column: "name" 9: th.hidden-xs 10: = sortable_column Dorsale::Flyboy::Task.t(:progress), column: "progress" 11: th.hidden-xs actionpack (5.0.0) lib/action_dispatch/routing/url_for.rb:176:in `url_for' actionview (5.0.0) lib/action_view/routing_url_for.rb:96:in `url_for' actionview (5.0.0) lib/action_view/helpers/url_helper.rb:196:in `link_to' bh (1.3.6) lib/bh/helpers/link_to_helper.rb:44:in `link_to' handles_sortable_columns (0.1.4) lib/handles/sortable_columns.rb:226:in `sortable_column' actionpack (5.0.0) lib/abstract_controller/helpers.rb:68:in `sortable_column' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim:8:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__list_html_slim___363995803905395840_70236393551360' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim:3:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_flyboy_tasks__tasks_for_taskable_html_slim___1112896499120563873_70236391953240' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/flyboy/application_helper.rb:25:in `tasks_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__tasks_tab_html_slim___23562910512924711_70236331301160' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:26:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236332677540' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `block in capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:153:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:6:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim__1175362630220300533_70236332677540' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_individuals_show_html_slim__120351531199581348_70236419529600' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template' actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body' actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' railties (5.0.0) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' warden (1.2.6) lib/warden/manager.rb:35:in `block in call' warden (1.2.6) lib/warden/manager.rb:34:in `catch' warden (1.2.6) lib/warden/manager.rb:34:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0) lib/rails/rack/logger.rb:24:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (10.3ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (106.6ms) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (1.6ms) DROP TABLE "dorsale_addresses"  (1.1ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar)  (1.1ms) DROP TABLE "dorsale_alexandrie_attachments"  (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.2ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.3ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (2.4ms) 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(*)  (5.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.3ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.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)  (2.3ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.7ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (1.7ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (2.0ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.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_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (1.5ms) 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.5ms) 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.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.2ms) DROP TABLE "dorsale_comments"  (0.9ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)  (1.1ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.2ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)  (1.1ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.0ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)  (1.3ms) DROP TABLE "dorsale_customer_vault_links"  (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)  (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'   (3.4ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (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.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.7ms) 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.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.1ms) DROP TABLE "dorsale_expense_gun_categories"  (3.4ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.2ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.0ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (1.0ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.6ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.7ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (3.2ms) DROP TABLE "dorsale_flyboy_folders"  (2.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)  (2.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (1.8ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.6ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.2ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)  (1.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.3ms) DROP TABLE "dorsale_flyboy_tasks"  (1.3ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)  (2.1ms) 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.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.7ms) DROP TABLE "dummy_models"  (2.7ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (2.8ms) DROP TABLE "taggings"  (1.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)  (1.2ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (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.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.0ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.7ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.4ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.4ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (0.3ms)  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.5ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.3ms)  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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.6ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (1.6ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (1.2ms) DROP TABLE "tags"  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (1.6ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (1.9ms) DROP TABLE "users"  (1.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, "is_active" boolean, "avatar" varchar)  (2.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'   (2.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.4ms) SELECT version FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (1.9ms) DROP TABLE "dorsale_addresses"  (1.5ms) 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.9ms) DROP TABLE "dorsale_alexandrie_attachments"  (3.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)  (1.8ms) DROP TABLE "dorsale_billing_machine_id_cards"  (5.3ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.3ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (6.4ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.8ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.6ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (2.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.7ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.4ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (2.9ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.1ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.6ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (1.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.6ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.6ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.7ms)  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'   (4.6ms) 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")  (2.3ms) DROP TABLE "dorsale_comments"  (1.3ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)  (1.0ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)  (1.1ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.1ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)  (2.1ms) DROP TABLE "dorsale_customer_vault_links"  (1.6ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (2.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.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'   (2.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.4ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.1ms) DROP TABLE "dorsale_expense_gun_categories"  (1.0ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.1ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.0ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (4.3ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.5ms) DROP TABLE "dorsale_expense_gun_expenses"  (2.1ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (2.9ms) DROP TABLE "dorsale_flyboy_folders"  (3.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)  (2.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'   (1.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.1ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.0ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)  (1.0ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.2ms) DROP TABLE "dorsale_flyboy_tasks"  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.5ms) DROP TABLE "dummy_models"  (1.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (2.6ms) DROP TABLE "taggings"  (2.4ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (1.7ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.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.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.3ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.8ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.7ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.4ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.6ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (1.1ms) DROP TABLE "tags"  (1.3ms) 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) DROP TABLE "users"  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean, "avatar" varchar)  (4.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.3ms)  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'   (2.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.7ms) SELECT version FROM "schema_migrations"  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160701204830')  (2.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-07-01 21:21:34 UTC], ["updated_at", 2016-07-01 21:21:34 UTC]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 23:22:18 +0200 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Completed 401 Unauthorized in 27ms (ActiveRecord: 0.9ms) Started GET "/users/sign_in" for ::1 at 2016-07-01 23:22:19 +0200 Processing by Devise::SessionsController#new as HTML Rendering devise/sessions/new.html.erb within layouts/application Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-i18n-1.1.0/app/views/devise/shared/_links.html.erb (2.1ms) Rendered devise/sessions/new.html.erb within layouts/application (40.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (6.3ms) Completed 200 OK in 761ms (Views: 745.4ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-01 23:22:20 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:22:21 +0200 Started POST "/users/sign_in" for ::1 at 2016-07-01 23:22:22 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gjCckEIjPrh5viuzfh4GvexlXLoU56hIbR7k5kkrdXjys7cMC7NBG7xYAdGLpYzyeqQbkYJyre1FC5SyHMtdbQ==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gjCckEIjPrh5viuzfh4GvexlXLoU56hIbR7k5kkrdXjys7cMC7NBG7xYAdGLpYzyeqQbkYJyre1FC5SyHMtdbQ==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} Rendering devise/sessions/new.html.erb within layouts/application Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-i18n-1.1.0/app/views/devise/shared/_links.html.erb (2.3ms) Rendered devise/sessions/new.html.erb within layouts/application (16.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.4ms) Completed 200 OK in 266ms (Views: 151.9ms | ActiveRecord: 0.0ms) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "ar_internal_metadata";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.9ms) 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';  (1.1ms) DELETE FROM "dorsale_billing_machine_invoices";  (1.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';  (1.0ms) 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';  (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.3ms) 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.3ms) 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.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.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_expense_gun_categories";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (0.9ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.9ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (0.9ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.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';  (1.0ms) 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.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';  (1.3ms) DELETE FROM "taggings";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$raDkxzi/JSiiswdTJPyUH.62cXq0Al5RH7kB0uILoDKfDKesniM/m"], ["created_at", 2016-07-01 21:22:32 UTC], ["updated_at", 2016-07-01 21:22:32 UTC], ["is_active", true]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 776ddab9-bd9f-4713-afca-c410dda43b98) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password" User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (2.2ms) commit 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-07-01 21:22:32 UTC], ["updated_at", 2016-07-01 21:22:32 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:22:32 UTC], ["updated_at", 2016-07-01 21:22:32 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:22:33 UTC], ["updated_at", 2016-07-01 21:22:33 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:22:33 UTC], ["updated_at", 2016-07-01 21:22:33 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["name", "client"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "client"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:22:33 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.8ms) rollback transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) DELETE FROM "ar_internal_metadata";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.9ms) 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.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.2ms) DELETE FROM "dorsale_billing_machine_invoices";  (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_invoices';  (1.6ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (0.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';  (1.0ms) DELETE FROM "dorsale_comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';  (0.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.9ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.4ms) 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.2ms) DELETE FROM "dorsale_customer_vault_links";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.9ms) DELETE FROM "dorsale_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (1.2ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (1.9ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (1.5ms) DELETE FROM "dorsale_flyboy_folders";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (1.3ms) 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';  (1.0ms) DELETE FROM "dorsale_flyboy_tasks";  (0.4ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';  (1.3ms) 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.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$Eh262zbctN6XDKD7vWw5M.gyhAcVgkxpo2vdr2FgvNIySWJxKjsnm"], ["created_at", 2016-07-01 21:24:49 UTC], ["updated_at", 2016-07-01 21:24:49 UTC], ["is_active", true]] User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 2d51f83e-fe55-43ba-bb37-b177f1a768a3) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password"  (2.3ms) commit 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-07-01 21:24:49 UTC], ["updated_at", 2016-07-01 21:24:49 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:24:49 UTC], ["updated_at", 2016-07-01 21:24:49 UTC]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:24:49 UTC], ["updated_at", 2016-07-01 21:24:49 UTC]] SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:24:49 UTC], ["updated_at", 2016-07-01 21:24:49 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["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.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:24:50 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.5ms) rollback transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.9ms) 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.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (0.9ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.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.3ms) DELETE FROM "dorsale_billing_machine_invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (1.1ms) DELETE FROM "dorsale_billing_machine_quotations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';  (1.0ms) 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.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';  (1.2ms) 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.2ms) DELETE FROM "dorsale_customer_vault_links";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.9ms) DELETE FROM "dorsale_expense_gun_categories";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (2.5ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (1.1ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (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';  (1.1ms) 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.0ms) 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.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';  (1.4ms) 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';  (1.0ms) 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';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$MdEeg8fhiS8N2LxbbUo6h.l9ky/dEQAA0OEk5KX4H2T5VRNjXyGGu"], ["created_at", 2016-07-01 21:30:43 UTC], ["updated_at", 2016-07-01 21:30:43 UTC], ["is_active", true]] User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 79191a0a-0c97-4091-a386-63988348bf7c) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password"  (1.3ms) commit 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-07-01 21:30:43 UTC], ["updated_at", 2016-07-01 21:30:43 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:30:43 UTC], ["updated_at", 2016-07-01 21:30:43 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:30:43 UTC], ["updated_at", 2016-07-01 21:30:43 UTC]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:30:43 UTC], ["updated_at", 2016-07-01 21:30:43 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["name", "client"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "client"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (1.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" ("customer_id", "customer_type", "payment_term_id", "id_card_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "advance", "balance", "unique_index", "paid", "due_date", "created_at", "updated_at", "tracking_id", "commercial_discount") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Commande de bombons"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["advance", #], ["balance", #], ["unique_index", 1], ["paid", false], ["due_date", Sun, 31 Jul 2016], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["tracking_id", "2016-01"], ["commercial_discount", #]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Bombons en sucre"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["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" = ? LIMIT ? [["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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 3], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 3]]  (1.5ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["author_type", "User"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "unique_index", "created_at", "updated_at", "expires_at", "tracking_id", "commercial_discount", "state") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 1], ["payment_term_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Application sur mesure"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["unique_index", 1], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["expires_at", Mon, 01 Aug 2016], ["tracking_id", "2016-01"], ["commercial_discount", #], ["state", "pending"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Développement"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]] Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:30:44 UTC], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Gestion de projet"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:30:44 UTC], ["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] 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" = ? LIMIT ? [["name", "potentiel"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.2ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 4], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 4]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jean"], ["last_name", "DUPONT"], ["email", "jean.dupon@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (3.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" = ? LIMIT ? [["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" = ? LIMIT ? [["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" = ? LIMIT ? [["name", "freelance"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] 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"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 5], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 6], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 7], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:30:44 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (1.4ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "Développeur, premier contact pour mutualiser un projet."], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["author_type", "User"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-07-01') SQL (0.4ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "progress", "status", "tracking", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["progress", 0], ["status", "open"], ["tracking", "160701-1"], ["version", 1], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", 2016-07-01 21:30:44 UTC], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 1], ["date", 2016-07-01 21:30:44 UTC], ["description", "Traduction française terminée"], ["progress", 50], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:30:44 UTC], ["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.2ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", 2016-07-01 21:30:44 UTC], ["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 ? [["id", 1], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]]  (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", 25], ["version", 4], ["updated_at", 2016-07-01 21:30:44 UTC], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 3], ["date", 2016-07-01 21:30:44 UTC], ["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["created_at", 2016-07-01 21:30:44 UTC], ["updated_at", 2016-07-01 21:30:44 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:30:44 UTC], ["id", 3]]  (1.0ms) commit transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-07-01 21:32:35 UTC], ["updated_at", 2016-07-01 21:32:35 UTC]]  (2.7ms) commit transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (2.7ms) 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.3ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.1ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.3ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.7ms) 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)  (2.4ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (2.3ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.3ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (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'   (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.3ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.3ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.2ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.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'   (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.2ms) DROP TABLE "dorsale_comments"  (1.1ms) 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.2ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)  (1.1ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.2ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)  (1.4ms) DROP TABLE "dorsale_customer_vault_links"  (1.3ms) 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.5ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.1ms) DROP TABLE "dorsale_expense_gun_categories"  (1.7ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.8ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.1ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (1.0ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.2ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.1ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (1.3ms) DROP TABLE "dorsale_flyboy_folders"  (1.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'   (1.2ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.5ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.2ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)  (1.2ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.3ms) DROP TABLE "dorsale_flyboy_tasks"  (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)  (1.6ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.8ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.2ms) DROP TABLE "dummy_models"  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (1.6ms) DROP TABLE "taggings"  (1.0ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (1.0ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.5ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.5ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.2ms)  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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.3ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (3.3ms) DROP TABLE "tags"  (1.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (1.6ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (3.0ms) DROP TABLE "users"  (2.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean, "avatar" varchar)  (2.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (1.8ms) DROP TABLE "dorsale_addresses"  (1.6ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar)  (2.8ms) DROP TABLE "dorsale_alexandrie_attachments"  (2.2ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)  (1.9ms) DROP TABLE "dorsale_billing_machine_id_cards"  (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.1ms) 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.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.3ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (6.7ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.6ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (2.7ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.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'   (2.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.2ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.1ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (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.2ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.6ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.6ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (1.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (2.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")  (0.6ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.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.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.5ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.3ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.1ms) DROP TABLE "dorsale_comments"  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)  (1.1ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)  (1.0ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.0ms) 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.6ms) DROP TABLE "dorsale_customer_vault_links"  (1.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)  (1.9ms) 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'   (2.7ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.7ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.6ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (3.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.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.0ms) DROP TABLE "dorsale_expense_gun_categories"  (1.0ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.3ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.1ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (1.0ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.0ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.6ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (1.8ms) DROP TABLE "dorsale_flyboy_folders"  (2.5ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.6ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (1.7ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (3.0ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.2ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)  (1.0ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.2ms) DROP TABLE "dorsale_flyboy_tasks"  (1.2ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.0ms) DROP TABLE "dummy_models"  (1.5ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (2.4ms) DROP TABLE "taggings"  (2.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (2.4ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.5ms) 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.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.4ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.5ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.6ms)  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)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.6ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (0.4ms)  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.5ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.2ms)  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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.4ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (1.5ms) DROP TABLE "tags"  (1.6ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (3.2ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (4.5ms) DROP TABLE "users"  (4.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean, "avatar" varchar)  (1.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.3ms)  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 UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.9ms) SELECT version FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.2ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.3ms) begin transaction  (0.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (1.3ms) DROP TABLE "dorsale_addresses"  (1.7ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar)  (1.4ms) DROP TABLE "dorsale_alexandrie_attachments"  (2.6ms) 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.8ms) DROP TABLE "dorsale_billing_machine_id_cards"  (2.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)  (2.8ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (1.2ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (0.1ms) select sqlite_version(*)  (2.0ms) 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.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.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'   (1.5ms) 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.4ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.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.5ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (2.6ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (2.3ms) 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)  (3.9ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.3ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.2ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (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'   (1.4ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.6ms) DROP TABLE "dorsale_comments"  (1.7ms) 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)  (2.3ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.8ms) 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)  (2.8ms) DROP TABLE "dorsale_customer_vault_individuals"  (1.2ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)  (1.4ms) DROP TABLE "dorsale_customer_vault_links"  (1.0ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.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'   (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.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.4ms) DROP TABLE "dorsale_expense_gun_categories"  (1.8ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.6ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (2.9ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.8ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (1.7ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (1.1ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.0ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (3.3ms) DROP TABLE "dorsale_flyboy_folders"  (1.2ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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'   (3.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.8ms) DROP TABLE "dorsale_flyboy_task_comments"  (1.5ms) 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)  (2.6ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (2.0ms) DROP TABLE "dorsale_flyboy_tasks"  (3.4ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)  (1.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.2ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (1.1ms) DROP TABLE "dummy_models"  (1.1ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (1.4ms) DROP TABLE "taggings"  (3.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)  (1.7ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.4ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.7ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.5ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.3ms)  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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (2.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.0ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.2ms)  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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.2ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.3ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (1.8ms) DROP TABLE "tags"  (4.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)  (2.2ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")  (20.8ms) DROP TABLE "users"  (4.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean, "avatar" varchar)  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (1.6ms) DROP TABLE "dorsale_addresses"  (1.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.7ms) DROP TABLE "dorsale_alexandrie_attachments"  (1.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)  (1.3ms) DROP TABLE "dorsale_billing_machine_id_cards"  (1.4ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) DROP TABLE "dorsale_billing_machine_invoice_lines"  (3.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(*)  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")  (1.8ms) DROP TABLE "dorsale_billing_machine_invoices"  (1.6ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal, "comments" text)  (1.5ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")  (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.5ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.5ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'   (1.6ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")  (1.3ms) DROP TABLE "dorsale_billing_machine_payment_terms"  (1.2ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) DROP TABLE "dorsale_billing_machine_quotation_lines"  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")  (1.4ms) DROP TABLE "dorsale_billing_machine_quotations"  (1.2ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar)  (1.5ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'   (1.5ms) 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.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'   (1.4ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")  (1.6ms) DROP TABLE "dorsale_comments"  (1.8ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)  (3.4ms) DROP TABLE "dorsale_customer_vault_corporations"  (1.2ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar)  (1.0ms) DROP TABLE "dorsale_customer_vault_individuals"  (2.1ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)  (1.3ms) DROP TABLE "dorsale_customer_vault_links"  (1.1ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.5ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'   (1.4ms) 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.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.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.7ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")  (1.6ms) DROP TABLE "dorsale_expense_gun_categories"  (1.9ms) CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)  (1.7ms) DROP TABLE "dorsale_expense_gun_expense_lines"  (1.4ms) CREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")  (2.6ms) DROP TABLE "dorsale_expense_gun_expenses"  (1.0ms) CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)  (1.3ms) DROP TABLE "dorsale_flyboy_folders"  (1.5ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'   (1.3ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")  (1.6ms) DROP TABLE "dorsale_flyboy_task_comments"  (2.0ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)  (1.4ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")  (1.6ms) DROP TABLE "dorsale_flyboy_tasks"  (1.6ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)  (1.3ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (1.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")  (0.9ms) DROP TABLE "dummy_models"  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "string_field" varchar, "text_field" text, "integer_field" integer, "decimal_field" decimal, "date_field" date, "datetime_field" datetime, "boolean_field" boolean)  (1.7ms) DROP TABLE "taggings"  (1.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime)  (1.4ms) CREATE INDEX "index_taggings_on_context" ON "taggings" ("context")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.6ms) 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.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.6ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.3ms)  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.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.6ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idx' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idx' AND type='index'   (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.4ms) CREATE INDEX "taggings_idy" ON "taggings" ("taggable_id", "taggable_type", "tagger_id", "context")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.9ms) CREATE INDEX "index_taggings_on_taggable_id" ON "taggings" ("taggable_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_taggable_type" ON "taggings" ("taggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tagger_id_and_tagger_type" ON "taggings" ("tagger_id", "tagger_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (1.1ms) CREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")  (2.6ms) DROP TABLE "tags"  (1.2ms) 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.2ms) DROP TABLE "users"  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean, "avatar" varchar)  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.5ms) SELECT version FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.3ms) begin transaction  (0.1ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.2ms) commit transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (0.9ms) 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.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.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.0ms) 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.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.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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (1.0ms) DELETE FROM "dorsale_customer_vault_links";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.8ms) DELETE FROM "dorsale_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (1.0ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.8ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (0.9ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (1.0ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';  (1.3ms) 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.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$d3zvi1GbNTk2tOFPec.GX.6f6HdAM80RTbgdaBjJkwb4BYK624eim"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["is_active", true]] User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 2504c7fe-82e8-4d57-a076-2692f72627fe) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password"  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id_card_name", "Bidule Corp"], ["entity_name", "Bidule Corp"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["name", "client"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "client"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (2.5ms) 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" ("customer_id", "customer_type", "payment_term_id", "id_card_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "advance", "balance", "unique_index", "paid", "due_date", "created_at", "updated_at", "tracking_id", "commercial_discount") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Commande de bombons"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["advance", #], ["balance", #], ["unique_index", 1], ["paid", false], ["due_date", Sun, 31 Jul 2016], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["tracking_id", "2016-01"], ["commercial_discount", #]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Bombons en sucre"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["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" = ? LIMIT ? [["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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 3], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 3]]  (1.3ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["author_type", "User"]]  (0.9ms) 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" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "unique_index", "created_at", "updated_at", "expires_at", "tracking_id", "commercial_discount", "state") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 1], ["payment_term_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Application sur mesure"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["unique_index", 1], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["expires_at", Mon, 01 Aug 2016], ["tracking_id", "2016-01"], ["commercial_discount", #], ["state", "pending"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Développement"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:32:56 UTC], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Gestion de projet"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:32:56 UTC], ["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-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] 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" = ? LIMIT ? [["name", "potentiel"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 4], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) 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", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (3.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" = ? LIMIT ? [["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" = ? LIMIT ? [["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" = ? LIMIT ? [["name", "freelance"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] 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"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 5], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 6], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 7], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:32:56 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (4.4ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "Développeur, premier contact pour mutualiser un projet."], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["author_type", "User"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-07-01') SQL (0.3ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "progress", "status", "tracking", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["progress", 0], ["status", "open"], ["tracking", "160701-1"], ["version", 1], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", 2016-07-01 21:32:56 UTC], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 1], ["date", 2016-07-01 21:32:56 UTC], ["description", "Traduction française terminée"], ["progress", 50], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:32:56 UTC], ["id", 1]]  (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.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", 2016-07-01 21:32:56 UTC], ["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 ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (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", 25], ["version", 4], ["updated_at", 2016-07-01 21:32:56 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 3], ["date", 2016-07-01 21:32:56 UTC], ["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["created_at", 2016-07-01 21:32:56 UTC], ["updated_at", 2016-07-01 21:32:56 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:32:56 UTC], ["id", 3]]  (0.8ms) commit transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) DELETE FROM "ar_internal_metadata";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (1.0ms) DELETE FROM "dorsale_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (1.1ms) DELETE FROM "dorsale_billing_machine_id_cards";  (0.1ms) 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';  (1.0ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';  (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.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";  (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_payment_terms';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (0.9ms) 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.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.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (1.1ms) DELETE FROM "dorsale_customer_vault_links";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.8ms) DELETE FROM "dorsale_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (0.9ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.9ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (0.9ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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';  (1.3ms) 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';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$ZEur/yBLPwHqKgahiWUdFOygonUbAH.PVoFUrtjzSYbaXhFTFxZXS"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["is_active", true]] User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: ad38a65d-f715-4429-8203-a908f00a1eb8) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password"  (2.4ms) commit 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-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["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.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:36:39 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("customer_id", "customer_type", "payment_term_id", "id_card_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "advance", "balance", "unique_index", "paid", "due_date", "created_at", "updated_at", "tracking_id", "commercial_discount") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Commande de bombons"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["advance", #], ["balance", #], ["unique_index", 1], ["paid", false], ["due_date", Sun, 31 Jul 2016], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["tracking_id", "2016-01"], ["commercial_discount", #]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Bombons en sucre"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["name", "prospect"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "prospect"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = ? LIMIT ? [["name", "certain"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "certain"]] 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"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:36:39 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 3], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:36:39 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 3]]  (1.3ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["author_type", "User"]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations" SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "unique_index", "created_at", "updated_at", "expires_at", "tracking_id", "commercial_discount", "state") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 1], ["payment_term_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Application sur mesure"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["unique_index", 1], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["expires_at", Mon, 01 Aug 2016], ["tracking_id", "2016-01"], ["commercial_discount", #], ["state", "pending"]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Développement"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.5ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:36:39 UTC], ["id", 1]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Gestion de projet"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:36:39 UTC], ["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Henri"], ["last_name", "MARTIN"], ["email", "henri.martin@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] 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" = ? LIMIT ? [["name", "potentiel"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:36:39 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 4], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:36:39 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 4]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_individuals" ("first_name", "last_name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jean"], ["last_name", "DUPONT"], ["email", "jean.dupon@example.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:36:39 UTC], ["updated_at", 2016-07-01 21:36:39 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (3.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" = ? LIMIT ? [["name", "développeur"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "développeur"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = ? LIMIT ? [["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" = ? LIMIT ? [["name", "freelance"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 5], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:36:40 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 6], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:36:40 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 7], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:36:40 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (1.3ms) 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "Développeur, premier contact pour mutualiser un projet."], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC], ["author_type", "User"]]  (0.9ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-07-01') SQL (0.4ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "progress", "status", "tracking", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["progress", 0], ["status", "open"], ["tracking", "160701-1"], ["version", 1], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC]]  (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", 2016-07-01 21:36:40 UTC], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 1], ["date", 2016-07-01 21:36:40 UTC], ["description", "Traduction française terminée"], ["progress", 50], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.1ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:36:40 UTC], ["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.0ms) SELECT SUM("dorsale_flyboy_tasks"."progress") FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]]  (0.1ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_id" = ? AND "dorsale_flyboy_tasks"."taskable_type" = ? [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"]] SQL (0.1ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", 2016-07-01 21:36:40 UTC], ["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 ? [["id", 1], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC]]  (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.2ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 25], ["version", 4], ["updated_at", 2016-07-01 21:36:40 UTC], ["id", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 3], ["date", 2016-07-01 21:36:40 UTC], ["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["created_at", 2016-07-01 21:36:40 UTC], ["updated_at", 2016-07-01 21:36:40 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:36:40 UTC], ["id", 3]]  (1.0ms) commit transaction Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) DELETE FROM "ar_internal_metadata";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';  (1.3ms) DELETE FROM "dorsale_addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";  (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_id_cards';  (1.0ms) DELETE FROM "dorsale_billing_machine_invoice_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.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.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';  (1.0ms) DELETE FROM "dorsale_billing_machine_quotations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.7ms) 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.7ms) DELETE FROM "dorsale_customer_vault_corporations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';  (0.9ms) DELETE FROM "dorsale_customer_vault_links";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';  (0.8ms) DELETE FROM "dorsale_expense_gun_categories";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_categories';  (0.8ms) DELETE FROM "dorsale_expense_gun_expense_lines";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expense_lines';  (0.9ms) DELETE FROM "dorsale_expense_gun_expenses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_expense_gun_expenses';  (0.9ms) DELETE FROM "dorsale_flyboy_folders";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) 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';  (1.3ms) DELETE FROM "dorsale_flyboy_tasks";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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';  (1.4ms) 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.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.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "is_active") VALUES (?, ?, ?, ?, ?) [["email", "demo@agilidee.com"], ["encrypted_password", "$2a$10$e.6ZVZH0i9GiQDVW9NUNc.Bx4ufR2Jz.XyBb5CoY8baMy/PdeUIOu"], ["created_at", 2016-07-01 21:37:37 UTC], ["updated_at", 2016-07-01 21:37:37 UTC], ["is_active", true]] [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 4f7f3d28-6b10-4a3e-a924-c8e3d47e7906) to Async(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", #>, "password" User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id_card_name", "Bidule Corp"], ["entity_name", "Bidule Corp"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "A réception"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "agilidée"], ["email", "contact@agilidee.com"], ["phone", "04 91 xx xx xx"], ["fax", "04 91 xx xx xx"], ["www", "http://www.agilidee.com/"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["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.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 1]]  (3.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" ("customer_id", "customer_type", "payment_term_id", "id_card_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "advance", "balance", "unique_index", "paid", "due_date", "created_at", "updated_at", "tracking_id", "commercial_discount") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Commande de bombons"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["advance", #], ["balance", #], ["unique_index", 1], ["paid", false], ["due_date", Sun, 31 Jul 2016], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["tracking_id", "2016-01"], ["commercial_discount", #]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Bombons en sucre"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "email", "phone", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Truc Bidule SARL"], ["email", "truc@bidule.com"], ["phone", "04 91 xx xx xx"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] 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" = ? LIMIT ? [["name", "prospect"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "prospect"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = ? LIMIT ? [["name", "certain"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "certain"]] 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"]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 3], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] 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 ? [["id", 2], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Corporation"], ["text", "Je viens d'avoir cette boite au téléphone, il faut leur faire un devis."], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["author_type", "User"]]  (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" ("customer_id", "customer_type", "id_card_id", "payment_term_id", "date", "label", "total_excluding_taxes", "vat_amount", "total_including_taxes", "unique_index", "created_at", "updated_at", "expires_at", "tracking_id", "commercial_discount", "state") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["id_card_id", 1], ["payment_term_id", 1], ["date", Fri, 01 Jul 2016], ["label", "Application sur mesure"], ["total_excluding_taxes", #], ["vat_amount", #], ["total_including_taxes", #], ["unique_index", 1], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["expires_at", Mon, 01 Aug 2016], ["tracking_id", "2016-01"], ["commercial_discount", #], ["state", "pending"]] SQL (0.1ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Développement"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:37:38 UTC], ["id", 1]] SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quotation_id", "label", "quantity", "unit_price", "total", "created_at", "updated_at", "vat_rate") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["quotation_id", 1], ["label", "Gestion de projet"], ["quantity", #], ["unit_price", #], ["total", #], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["vat_rate", #]] Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "vat_amount" = ?, "total_excluding_taxes" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["vat_amount", #], ["total_excluding_taxes", #], ["total_including_taxes", #], ["updated_at", 2016-07-01 21:37:38 UTC], ["id", 1]]  (1.6ms) 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-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]] SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Individual"]] 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" = ? LIMIT ? [["name", "potentiel"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "potentiel"]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 2]] ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 4], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 1], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 4], ["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) 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", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]] SQL (0.1ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "updated_at", "addressable_id", "addressable_type") VALUES (?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (3.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" = ? LIMIT ? [["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" = ? LIMIT ? [["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" = ? LIMIT ? [["name", "freelance"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "freelance"]] 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"]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 5], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 5], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) 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" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 6], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 6], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 6]] ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE "taggings"."tag_id" = ? AND "taggings"."taggable_type" = ? AND "taggings"."taggable_id" = ? AND "taggings"."context" = ? AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL LIMIT ? [["tag_id", 7], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["taggable_id", 2], ["context", "tags"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "created_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 7], ["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"], ["context", "tags"], ["created_at", 2016-07-01 21:37:38 UTC]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) UPDATE "tags" SET "taggings_count" = COALESCE("taggings_count", 0) + 1 WHERE "tags"."id" = ? [["id", 7]]  (1.4ms) commit transaction  (0.1ms) begin transaction Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "dorsale_comments" ("author_id", "commentable_id", "commentable_type", "text", "created_at", "updated_at", "author_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["commentable_id", 2], ["commentable_type", "Dorsale::CustomerVault::Individual"], ["text", "Développeur, premier contact pour mutualiser un projet."], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["author_type", "User"]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" WHERE (DATE(created_at) = '2016-07-01') SQL (0.4ms) INSERT INTO "dorsale_flyboy_folders" ("name", "description", "progress", "status", "tracking", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dorsale v2"], ["description", "Tâches pour la version 2 de Dorsale"], ["progress", 0], ["status", "open"], ["tracking", "160701-1"], ["version", 1], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (0.9ms) 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 ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Traduction"], ["description", "Traduire en français et en anglais"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (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.1ms) UPDATE "dorsale_flyboy_folders" SET "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["version", 2], ["updated_at", 2016-07-01 21:37:38 UTC], ["id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 1], ["date", 2016-07-01 21:37:38 UTC], ["description", "Traduction française terminée"], ["progress", 50], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:37:38 UTC], ["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.2ms) UPDATE "dorsale_flyboy_folders" SET "progress" = ?, "version" = ?, "updated_at" = ? WHERE "dorsale_flyboy_folders"."id" = ? [["progress", 50], ["version", 3], ["updated_at", 2016-07-01 21:37:38 UTC], ["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 ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "description", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 1], ["taskable_type", "Dorsale::Flyboy::Folder"], ["name", "Rediger les documentations"], ["description", "Dorsale, CustomerVault, Flyboy, ..."], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (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", 25], ["version", 4], ["updated_at", 2016-07-01 21:37:38 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_tasks" ("taskable_id", "taskable_type", "name", "progress", "done", "term", "reminder", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["taskable_id", 2], ["taskable_type", "Dorsale::CustomerVault::Corporation"], ["name", "Relancer et se faire payer"], ["progress", 0], ["done", false], ["term", Sun, 31 Jul 2016], ["reminder", Fri, 08 Jul 2016], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dorsale_flyboy_task_comments" ("task_id", "date", "description", "progress", "created_at", "updated_at", "author_type", "author_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["task_id", 3], ["date", 2016-07-01 21:37:38 UTC], ["description", "Relance faire aujourd'hui. Paiement d'ici la fin de la semaine."], ["progress", 50], ["created_at", 2016-07-01 21:37:38 UTC], ["updated_at", 2016-07-01 21:37:38 UTC], ["author_type", "User"], ["author_id", 1]] SQL (0.2ms) UPDATE "dorsale_flyboy_tasks" SET "progress" = ?, "updated_at" = ? WHERE "dorsale_flyboy_tasks"."id" = ? [["progress", 50], ["updated_at", 2016-07-01 21:37:38 UTC], ["id", 3]]  (1.0ms) commit transaction Started GET "/users/sign_in" for ::1 at 2016-07-01 23:38:55 +0200 Processing by Devise::SessionsController#new as HTML Rendering devise/sessions/new.html.erb within layouts/application Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-i18n-1.1.0/app/views/devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (25.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 229ms (Views: 206.6ms | ActiveRecord: 1.8ms) Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:38:56 +0200 Started POST "/users/sign_in" for ::1 at 2016-07-01 23:38:57 +0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"S59K40p2wCW/5fD98TxWnRLRPSM1cUgZl1uSgtlzdik7HGF/A+a/hnoD2p8Eh9zShBB6CKPkTby/TuLWjJNePA==", "user"=>{"email"=>"demo@agilidee.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://localhost:3000/users/sign_in"} User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "demo@agilidee.com"], ["LIMIT", 1]]  (0.2ms) begin transaction SQL (0.6ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-07-01 21:38:57 UTC], ["last_sign_in_at", 2016-07-01 21:38:57 UTC], ["current_sign_in_ip", "::1"], ["last_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", 2016-07-01 21:38:57 UTC], ["id", 1]]  (1.6ms) commit transaction Redirected to http://localhost:3000/dorsale/customer_vault/individuals/2 Completed 302 Found in 226ms (ActiveRecord: 3.9ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 23:38:58 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (11.6ms) ActsAsTaggableOn::Tagging Load (0.7ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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.4ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT ? [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (181.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (234.4ms) 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", false]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (45.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (310.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (323.9ms) Completed 500 Internal Server Error in 532ms (ActiveRecord: 7.3ms) ActionView::Template::Error (uninitialized constant Dorsale::CustomerVault::Person::Link): 18: h3 = ::Dorsale::CustomerVault::Link.t.pluralize 19: 20: ul 21: - person.links.map do |link| 22: li 23: a href=dorsale.polymorphic_path(link[:person]) 24: = link[:person].name /Users/benoit/www/agilidee/dorsale/app/models/dorsale/customer_vault/person.rb:23:in `links' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim:21:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__data_context_html_slim__1194698255932863468_70299337474520' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:4:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim___1955097990481388148_70299256397940' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `block in capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `capture' actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:153:in `content_for' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_people__show_html_slim___1955097990481388148_70299256397940' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim:1:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_customer_vault_individuals_show_html_slim__1217099549760460346_70299256945360' actionview (5.0.0) lib/action_view/template.rb:158:in `block in render' activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument' actionview (5.0.0) lib/action_view/template.rb:348:in `instrument' actionview (5.0.0) lib/action_view/template.rb:156:in `render' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template' actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body' actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body' actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render' actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' railties (5.0.0) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call' warden (1.2.6) lib/warden/manager.rb:35:in `block in call' warden (1.2.6) lib/warden/manager.rb:34:in `catch' warden (1.2.6) lib/warden/manager.rb:34:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0) lib/rails/rack/logger.rb:24:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (9.5ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendering /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/benoit/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (123.5ms) Started GET "/dorsale/customer_vault/individuals/2" for ::1 at 2016-07-01 23:39:36 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) Processing by Dorsale::CustomerVault::IndividualsController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_actions.html.slim (7.1ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT ? [["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Individual"], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_context.html.slim (41.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_context.html.slim (59.6ms) 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", false]] 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" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] 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" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_data_context.html.slim (19.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_form.html.slim (83.3ms) Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_comments"."commentable_id" = 2 ORDER BY "dorsale_comments"."created_at" DESC User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (20.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_list.html.slim (31.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comments.html.slim (128.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_activity_tab.html.slim (137.7ms) 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" = ? [["alice_id", 2], ["alice_type", "Dorsale::CustomerVault::Individual"]] 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" = ? [["bob_id", 2], ["bob_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_links_tab.html.slim (6.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (7.1ms) Dorsale::Flyboy::Task Load (0.4ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::CustomerVault::Individual' AND "dorsale_flyboy_tasks"."taskable_id" = 2 ORDER BY dorsale_flyboy_tasks.term ASC Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (12.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim (35.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim (49.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_show.html.slim (316.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/show.html.slim within layouts/application (324.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 568ms (Views: 432.2ms | ActiveRecord: 8.8ms) Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-01 23:39:37 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-01 23:39:38 +0200 Started GET "/" for ::1 at 2016-07-01 23:39:43 +0200 Processing by HomeController#home as HTML User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.4ms) Completed 200 OK in 157ms (Views: 147.7ms | ActiveRecord: 1.0ms) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDelayedJobs (20160701220436)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreateDelayedJobs < ActiveRecord::Migration[4.2] (called from
at bin/rake:4)  (0.5ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160701220436"]]  (1.3ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-07-01 22:04:43 UTC], ["updated_at", 2016-07-01 22:04:43 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='delayed_jobs_priority' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='delayed_jobs_priority' AND type='index'   (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.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'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_expense_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tagger_id_and_tagger_type' AND type='index'   (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_type' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_taggings_on_taggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_taggable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='taggings_idy' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='taggings_idy' 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='index_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_tag_id' AND type='index'   (0.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_taggings_on_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_taggings_on_context' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_tags_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_tags_on_name' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-02 00:08:16 +0200 ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:4) Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 44ms (ActiveRecord: 1.7ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-02 00:08:17 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (20.0ms)  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (31.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (48.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (24.2ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (187.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.7ms) Completed 200 OK in 610ms (Views: 347.6ms | ActiveRecord: 6.7ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-02 00:08:22 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" ActsAsTaggableOn::Tag Load (0.3ms) 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (29.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (10.1ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (16.1ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.1ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (13.5ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] 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::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (163.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (6.3ms) Completed 200 OK in 372ms (Views: 289.8ms | ActiveRecord: 4.0ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-02 00:08:24 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (4.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (14.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (7.4ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (11.9ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.4ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (10.2ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (109.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 232ms (Views: 219.2ms | ActiveRecord: 2.3ms) Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-02 00:08:24 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-02 00:08:25 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-02 00:08:25 +0200 Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Started GET "/" for ::1 at 2016-07-04 09:32:20 +0200 Processing by HomeController#home as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (12.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 260ms (Views: 204.7ms | ActiveRecord: 4.5ms) Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/customer_vault/all.self-8d9ca9644d7413a2f5f5673379a8e18a5c16a3bd4d90fc4321e801485f71ae7b.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-04 09:32:21 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-04 09:32:23 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/application_controller.rb:4) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/customer_vault/people_controller.rb:4) Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:32:23 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (10.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (22.0ms)  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] 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 ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (27.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (38.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (6.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (13.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (127.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 412ms (Views: 231.4ms | ActiveRecord: 5.8ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:32:25 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (2.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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (7.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.8ms) ActsAsTaggableOn::Tagging Load (1.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (16.2ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.7ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (13.8ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (5.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (135.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 275ms (Views: 244.1ms | ActiveRecord: 7.6ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:32:27 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (4.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (0.3ms) 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (9.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (4.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (35.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.1ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (15.2ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (6.9ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (15.5ms) ActsAsTaggableOn::Tagging Load (0.4ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (153.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.9ms) Completed 200 OK in 290ms (Views: 264.3ms | ActiveRecord: 7.5ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:32:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (2.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.6ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (4.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (16.0ms)  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] Dorsale::Comment Load (0.4ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (23.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (10.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (15.8ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (99.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 242ms (Views: 215.7ms | ActiveRecord: 5.1ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:32:29 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (0.4ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (9.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (8.4ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (15.9ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (8.0ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (15.3ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (9.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (141.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 322ms (Views: 283.7ms | ActiveRecord: 3.8ms) Started GET "/" for ::1 at 2016-07-04 09:32:34 +0200 Processing by HomeController#home as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (3.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms) Completed 200 OK in 139ms (Views: 131.9ms | ActiveRecord: 0.7ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-04 09:32:35 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 19ms (ActiveRecord: 0.3ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:32:35 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (12.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (25.5ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] 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 ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (24.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (34.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (15.3ms)  (0.7ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (140.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.7ms) Completed 200 OK in 316ms (Views: 302.0ms | ActiveRecord: 2.8ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:32:36 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (18.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (8.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (8.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (22.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (22.0ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (15.3ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.2ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (12.3ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (154.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.9ms) Completed 200 OK in 330ms (Views: 270.3ms | ActiveRecord: 21.2ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:34:11 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (8.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (15.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (11.1ms) ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (13.7ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.9ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (12.4ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (5.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (134.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.8ms) Completed 200 OK in 1013ms (Views: 998.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/customer_vault/all.self-ef340c176b62dbd2f09703347c581131c76efe530420a262c7f7fc3bebc2c6b5.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-04 09:34:13 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-04 09:34:14 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:34:14 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (14.7ms)  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] Dorsale::Comment Load (0.4ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') ORDER BY "dorsale_comments"."created_at" DESC, created_at DESC, id DESC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (13.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (24.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (9.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (14.4ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (101.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.0ms) Completed 200 OK in 226ms (Views: 212.5ms | ActiveRecord: 2.0ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:34:15 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC CACHE (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (6.2ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (15.5ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (5.8ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (12.6ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (121.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 264ms (Views: 241.3ms | ActiveRecord: 2.8ms) Started GET "/" for ::1 at 2016-07-04 09:34:17 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (3.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 133ms (Views: 122.7ms | ActiveRecord: 0.2ms) Started GET "/dorsale/flyboy/tasks" for ::1 at 2016-07-04 09:34:18 +0200 DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/flyboy/application_controller.rb:4) Processing by Dorsale::Flyboy::TasksController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (8.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.6ms) Dorsale::Flyboy::Task Load (0.7ms) SELECT "dorsale_flyboy_tasks".* FROM "dorsale_flyboy_tasks" ORDER BY term ASC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] Dorsale::Flyboy::Folder Load (0.6ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] CACHE (0.0ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" WHERE "dorsale_flyboy_folders"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/_list.html.slim (75.8ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/tasks/index.html.slim within layouts/application (136.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.8ms) Completed 200 OK in 282ms (Views: 261.1ms | ActiveRecord: 4.4ms) Started GET "/dorsale/flyboy/folders" for ::1 at 2016-07-04 09:34:19 +0200 Processing by Dorsale::Flyboy::FoldersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/_filters.html.slim (10.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (11.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.9ms) Dorsale::Flyboy::Folder Load (0.3ms) SELECT "dorsale_flyboy_folders".* FROM "dorsale_flyboy_folders" ORDER BY status ASC LIMIT ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]]  (0.3ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term < '2016-07-04')  (0.2ms) SELECT COUNT(*) FROM "dorsale_flyboy_tasks" WHERE "dorsale_flyboy_tasks"."taskable_type" = 'Dorsale::Flyboy::Folder' AND "dorsale_flyboy_tasks"."taskable_id" = 1 AND (done = 'f' AND term > '2016-07-04' AND reminder < '2016-07-04') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/_list.html.slim (17.4ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_flyboy_folders" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/flyboy/folders/index.html.slim within layouts/application (92.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 214ms (Views: 200.3ms | ActiveRecord: 1.6ms) Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-04 09:34:21 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:34:21 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (5.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (18.0ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] 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 ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (16.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (25.0ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (1.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (11.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (16.1ms)  (0.3ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (105.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 240ms (Views: 225.6ms | ActiveRecord: 2.8ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:34:22 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" ActsAsTaggableOn::Tag Load (0.3ms) 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (5.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (6.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (16.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (22.0ms) ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] 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/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (11.4ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (6.2ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (11.5ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (6.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (143.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.8ms) Completed 200 OK in 324ms (Views: 268.6ms | ActiveRecord: 3.2ms) Started GET "/" for ::1 at 2016-07-04 09:34:24 +0200 Processing by HomeController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (5.5ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.0ms) Completed 200 OK in 127ms (Views: 118.1ms | ActiveRecord: 0.2ms) Started GET "/" for ::1 at 2016-07-04 09:34:25 +0200 Processing by HomeController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (3.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.0ms) Completed 200 OK in 147ms (Views: 141.1ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/billing_machine/all.self-fed178ec194e566ebec41a1fccbfac3b3fa4a40965771a1f486cd6735c290a75.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/customer_vault/all.self-ef340c176b62dbd2f09703347c581131c76efe530420a262c7f7fc3bebc2c6b5.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/datepicker.self-743018dd7b272bcc33879712e8c485dcfae4fdcecdb5519310cf91d06fb79bca.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/comments.self-98467176e4090db9ea84110f5c521751de88f957a2700d79431f4be2926603ca.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/modals.self-10d742ec181cf1b46a4be4de5b465534abafbb823800dd23f39d62622b33cc15.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/forms.self-42d716726f54c4e14699b35d42231ebf2f98cadc310c56ec9aed5064133fbe46.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-04 09:34:25 +0200 Started GET "/assets/dorsale/tabs_loader.self-4fe5b68c02f589779a586a8b0d7f608875820cdecfa6eb071ae3baa7f6bc942b.js?body=1" for ::1 at 2016-07-04 09:34:26 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-04 09:34:26 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-04 09:34:26 +0200 Started GET "/dorsale/customer_vault/people" for ::1 at 2016-07-04 09:34:27 +0200 Processing by Dorsale::CustomerVault::PeopleController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:3000/dorsale/customer_vault/people/activity Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/dorsale/customer_vault/people/activity" for ::1 at 2016-07-04 09:34:27 +0200 Processing by Dorsale::CustomerVault::PeopleController#activity as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (3.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.2ms)  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 50], ["OFFSET", 0]] 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 ? OFFSET ? [["LIMIT", 50], ["OFFSET", 0]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" WHERE "dorsale_customer_vault_individuals"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (14.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (23.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/comments/_comment.html.slim (7.2ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_comment.html.slim (11.3ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_comments" WHERE (commentable_type LIKE '%CustomerVault%') Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/activity.slim within layouts/application (89.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.8ms) Completed 200 OK in 211ms (Views: 200.0ms | ActiveRecord: 1.8ms) Started GET "/dorsale/customer_vault/people/list" for ::1 at 2016-07-04 09:34:28 +0200 Processing by Dorsale::CustomerVault::PeopleController#list as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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" 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" Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_actions.html.slim (4.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/search/_form.html.slim (7.9ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_index_tabs.html.slim (17.4ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/_filters.html.slim (7.4ms) ActsAsTaggableOn::Tagging Load (0.4ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (23.0ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] ActsAsTaggableOn::Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Individual"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/individuals/_list_details.html.slim (6.8ms) ActsAsTaggableOn::Tagging Load (0.3ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 2], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (13.5ms) ActsAsTaggableOn::Tagging Load (0.2ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = ? AND "taggings"."taggable_type" = ? AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ORDER BY "tags"."name" ASC [["taggable_id", 1], ["taggable_type", "Dorsale::CustomerVault::Corporation"]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/corporations/_list_details.html.slim (6.3ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/customer_vault/people/list.html.slim within layouts/application (129.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.2ms) Completed 200 OK in 270ms (Views: 242.7ms | ActiveRecord: 3.4ms) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Started GET "/" for ::1 at 2016-07-05 10:10:39 +0200 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#home as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering home/home.html.slim within layouts/application Rendered home/home.html.slim within layouts/application (18.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms) Completed 200 OK in 2993ms (Views: 2939.9ms | ActiveRecord: 1.4ms) Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/application.self-eb3766ba76d8ee0b1115d0d631563ebb7611f840fc197c3e82f7279942da4a79.css?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/accounting.self-394dbcb373f3c522d490109839ffd1d2378aae922742901969f5330bbcf7548b.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/cocoon.self-6874ad698cefd21cc1119b773550f61b5c1a60396460f015222af59293affe80.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/selectize.self-044caa1b742f2d258a52c7baf83283a30523017a0541e885fe003c4d13e5d00a.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/bootstrap-datepicker/core.self-f74d2ac9724588d21bc599897dd52239c33429b566b1175c2286dac7ffc3819e.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self-fc22f4a24fd9c64106ee1ffdd8167f9bcbb8544093f9acfd3e78cc79acaaa8ab.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/dorsale/alexandrie/all.self-bbbc7eaa993cd609c334801498cb7f37cd97b56298463811c340649e5b700dac.js?body=1" for ::1 at 2016-07-05 10:10:42 +0200 Started GET "/assets/dorsale/billing_machine/all.self-f6efb525f61bee480b2f6367cd3c38aa75827cf95aeb9314de976ec1099f5f9d.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/comments.self-b1b0263f42dfd955afef7f08f29efbf66ab79b6703da517f8fd4a9296235c1df.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/customer_vault/all.self-ef340c176b62dbd2f09703347c581131c76efe530420a262c7f7fc3bebc2c6b5.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/datepicker.self-91e220731f32f5d53973ecf3bf815c8dcf5a531b17ec66e399a772ddd27295f4.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/flyboy/all.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/forms.self-a45f79900caaea49dbcadcb11486a9c6eba971ff1f363a225e8406a44879c4c0.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/modals.self-5aec1ad3266a440424203c7e38ac3f7dbb7bd127b7fa529b27f5986ff2d6b26e.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/all.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/dorsale/tabs_loader.self-ad0c7ef4ab99a2c2f7afff2ec9f584da75daa1ecd87d96cc5866e1c66e952d9c.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/application.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74da4.woff2?v=4.6.2" for ::1 at 2016-07-05 10:10:43 +0200 Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-07-05 10:10:45 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.8ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1317.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (19.0ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT ? OFFSET ? [["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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (32.5ms)  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1405.0ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.9ms) Completed 200 OK in 1609ms (Views: 1525.0ms | ActiveRecord: 6.2ms) Started POST "/dorsale/small_data/filters" for ::1 at 2016-07-05 10:10:51 +0200 Processing by Dorsale::SmallData::FiltersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"a0K0/QbWA4CcJ13vrbPaSB2ltp/R6Szx+rrSdajaBnStKJqfob7Xxky8aN4AxU2ShoXPbz/87CvGofw37lvBSQ==", "filters"=>{"customer_guid"=>"Dorsale::CustomerVault::Individual-2", "bm_time_period"=>"", "bm_payment_status"=>""}, "back_url"=>"http://localhost:1234/dorsale/billing_machine/invoices"} User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:1234/dorsale/billing_machine/invoices Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-07-05 10:10:51 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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.6ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC [["customer_type", "Dorsale::CustomerVault::Individual"], ["customer_id", 2]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (7.8ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT ? OFFSET ? [["customer_type", "Dorsale::CustomerVault::Individual"], ["customer_id", 2], ["LIMIT", 50], ["OFFSET", 0]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (11.3ms)  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? [["customer_type", "Dorsale::CustomerVault::Individual"], ["customer_id", 2]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (59.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (4.1ms) Completed 200 OK in 186ms (Views: 172.6ms | ActiveRecord: 2.3ms) Started POST "/dorsale/small_data/filters" for ::1 at 2016-07-05 10:10:55 +0200 Processing by Dorsale::SmallData::FiltersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"r3hZeIni+I9RZvtCRUYFbw4cKMkmU/U3Lhawtk0yh8ppEncaLoosyYH9znPoMJK1lTxROchGNe0SDZ70C7NA9w==", "filters"=>{"customer_guid"=>"Dorsale::CustomerVault::Corporation-1", "bm_time_period"=>"", "bm_payment_status"=>""}, "back_url"=>"http://localhost:1234/dorsale/billing_machine/invoices"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:1234/dorsale/billing_machine/invoices Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-07-05 10:10:55 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC [["customer_type", "Dorsale::CustomerVault::Corporation"], ["customer_id", 1]] Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (14.1ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (7.0ms) Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT ? OFFSET ? [["customer_type", "Dorsale::CustomerVault::Corporation"], ["customer_id", 1], ["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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (18.6ms)  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."customer_type" = ? AND "dorsale_billing_machine_invoices"."customer_id" = ? [["customer_type", "Dorsale::CustomerVault::Corporation"], ["customer_id", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (73.8ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) Completed 200 OK in 228ms (Views: 208.1ms | ActiveRecord: 3.0ms) Started POST "/dorsale/small_data/filters" for ::1 at 2016-07-05 10:10:56 +0200 Processing by Dorsale::SmallData::FiltersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0BzsiXYf6HbjOYW+kMJ4FP4sOPNw1QE3jIC6FWxnd1cWdsLr0Xc8MDOisI89tO/OZQxBA57Awe2wm5RXKuawag==", "filters"=>{"customer_guid"=>"", "bm_time_period"=>"", "bm_payment_status"=>""}, "back_url"=>"http://localhost:1234/dorsale/billing_machine/invoices"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Redirected to http://localhost:1234/dorsale/billing_machine/invoices Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-07-05 10:10:56 +0200 Processing by Dorsale::BillingMachine::InvoicesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC Rendering /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (11.7ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (8.7ms) Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT ? OFFSET ? [["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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (15.6ms)  (1.8ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (69.6ms) Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.6ms) Completed 200 OK in 208ms (Views: 193.3ms | ActiveRecord: 3.0ms) Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open. Creating scope :open. Overwriting existing method Dorsale::Flyboy::Folder.open.