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)